Skip to content

Commit 760834b

Browse files
author
Colby Swandale
committed
add missing params to task call-seq examples to match consistency
1 parent e4ebe51 commit 760834b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rake/dsl_definition.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ module DSL
2626
private
2727

2828
# :call-seq:
29-
# task task_name
30-
# task task_name: dependencies
31-
# task task_name, arguments => dependencies
29+
# task(task_name)
30+
# task(task_name: dependencies)
31+
# task(task_name, arguments => dependencies)
3232
#
3333
# Declare a basic task. The +task_name+ is always the first argument. If
3434
# the task name contains a ":" it is defined in that namespace.

0 commit comments

Comments
 (0)