From 04d48a41679857492259dcdd88ef01b14d0017d0 Mon Sep 17 00:00:00 2001 From: Hendy Tanata Date: Wed, 22 Jun 2016 11:23:06 -0700 Subject: [PATCH] Remove mention of environment variables as task argument. Related to commit 57cdf0fafb85c9f4efbcd871e094686fdc2ca753. Support for environment variables as task argument was removed on commit 5148aac8b61246432d6d87f19f26e401ace62853. --- doc/rakefile.rdoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/rakefile.rdoc b/doc/rakefile.rdoc index d18680e51..89a28ebee 100644 --- a/doc/rakefile.rdoc +++ b/doc/rakefile.rdoc @@ -223,9 +223,7 @@ behaviour can now accept a second parameter: The first argument of the block "t" is always bound to the current task object. The second argument "args" is an open-struct like object that allows access to the task arguments. Extra command line -arguments to a task are ignored. Missing command line arguments are -picked up from matching environment variables. If there are no -matching environment variables, they are given the nil value. +arguments to a task are ignored. If you wish to specify default values for the arguments, you can use the with_defaults method in the task body. Here is the above example