global
def namespace(name=nil, &block)
task_run = ns[:run] # find :run in the given namespace.
end
task :run
ns = namespace "nested" do
E.g.
namespace.
Returns a NameSpace object that can be used to lookup tasks defined in the
Create a new rake namespace and use it for evaluating the given block.
def namespace(name=nil, &block) Rake.application.in_namespace(name, &block) end