Rake::Task class has a clear() method for removing actions and prerequisites from task. Would it be possible to provide method like this for Rake::NameSpace to remove all tasks?
Also, there is no (at least I couldn't find any) method for searching for namespace like [](task_name) in Rake::Task. There is [](name) method in there, but it searches for task in namespace.
These two features could enable one to write:
Rake::NameSpace.get('namespace_name').clear
Where get is a bad excuse for a method name that returns namespace by name.
Rake::Taskclass has aclear()method for removing actions and prerequisites from task. Would it be possible to provide method like this forRake::NameSpaceto remove all tasks?Also, there is no (at least I couldn't find any) method for searching for namespace like
[](task_name)inRake::Task. There is[](name)method in there, but it searches for task in namespace.These two features could enable one to write:
Where
getis a bad excuse for a method name that returns namespace by name.