Topic: rake name access inside rake itself

hi,

does anybody know how to get rake name at runtime?

namespace :foo do
  task :bar => :environment do
    puts "I'm rake #{????}"
  end
end

tnx

Last edited by masciugo (2012-01-26 12:04:01)