Created
February 7, 2013 22:40
-
-
Save robertjwhitney/4734877 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "a task with arguments" | |
task :example, :some_arg do |t, args| | |
# .. do something with the arguments | |
end | |
# > rake -T | |
# > rake example[some_arg] # a task with arguments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment