From c565f0739b387f1f7b91d24dc824b2ce44e149e8 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 10 Jan 2015 16:55:17 +0000 Subject: [PATCH] Fixed lume.call() section of README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 05cda7f..6dbfe46 100644 --- a/README.md +++ b/README.md @@ -255,13 +255,12 @@ f(3, 4) -- Prints "7" then "12" on a new line ``` ### lume.call(fn, ...) -Calls the given function with the provided arguments and returns its value. If -`fn` is nil then no action is performed and the function returns nil. +Calls the given function with the provided arguments and returns its values. If +`fn` is `nil` then no action is performed and the function returns `nil`. ```lua -_.call(print, "Hello world") -- Prints "Hello world" +lume.call(print, "Hello world") -- Prints "Hello world" ``` - ### lume.time(fn, ...) Inserts the arguments into function `fn` and calls it. Returns the time in seconds the function `fn` took to execute followed by `fn`'s returned values.