Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created November 8, 2013 04:38
Show Gist options
  • Save sugamasao/7366340 to your computer and use it in GitHub Desktop.
Save sugamasao/7366340 to your computer and use it in GitHub Desktop.
rakeタスク名を取得する
# 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