Skip to content

Instantly share code, notes, and snippets.

@djwhitt
Created May 21, 2010 16:10
Show Gist options
  • Save djwhitt/409031 to your computer and use it in GitHub Desktop.
Save djwhitt/409031 to your computer and use it in GitHub Desktop.
task :a do
puts "hi"
end
Rake.application.lookup(:a).clear
task :a do
puts "hello"
end
###################################
namespace :n1 do
task :a do
puts "hi"
end
end
Rake.application.lookup('n1:a').clear
namespace :n1 do
task :a do
puts "hello"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment