Skip to content

Commit

Permalink
Remove mention of environment variables as task argument.
Browse files Browse the repository at this point in the history
Related to commit 57cdf0f.

Support for environment variables as task argument was removed on
commit 5148aac.
  • Loading branch information
htanata committed Jun 22, 2016
1 parent 7520a18 commit 04d48a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/rakefile.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04d48a4

Please sign in to comment.