Created
November 8, 2013 04:38
-
-
Save sugamasao/7366340 to your computer and use it in GitHub Desktop.
rakeタスク名を取得する
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
# rake hoge | |
task :hoge do |task| | |
p task.name # => "hoge" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment