Skip to content

Commit

Permalink
Switch to 1.9 hash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Nov 15, 2012
1 parent 699075a commit 5e32350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/command_line.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ Custom rake tasks have a `.rake` extension and are placed in `Rails.root/lib/tas
```ruby
desc "I am short, but comprehensive description for my cool task"
task :task_name => [:prerequisite_task, :another_task_we_depend_on] do
task task_name: [:prerequisite_task, :another_task_we_depend_on] do
# All your magic here
# Any valid Ruby code is allowed
end
Expand Down

0 comments on commit 5e32350

Please sign in to comment.