Skip to content

Commit bc1281d

Browse files
committed
Merge pull request #226 from popox/patch-1
Update doc on #invoke helper
2 parents 1aaba9d + 51a0adc commit bc1281d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ You can add as many variables as needed.
316316
# Helpers
317317

318318
### invoke
319-
Invokes another Rake task.
319+
Invokes another Rake task. By default if the task has already been invoked it will not been executed again (see the `:reenable` option).
320320

321321
Invokes the task given in `task`. Returns nothing.
322322

@@ -325,8 +325,8 @@ invoke :'git:clone'
325325
invoke :restart
326326
~~~
327327

328-
Options:
329-
reenable (bool) - Execute the task even next time.
328+
__Options:__
329+
`:reenable` (bool) - Execute the task even next time. Defaults to `false`
330330

331331
### erb
332332
Evaluates an ERB block in the current scope and returns a string.

0 commit comments

Comments
 (0)