rake icon indicating copy to clipboard operation
rake copied to clipboard

Allow cleaning namespaces

Open fatkodima opened this issue 5 years ago • 0 comments

Closes #58

This is still a WIP (needs tests and documentation). I need to verify from core members if this is a correct approach and based on the feedback will update the PR.

Consideration: when cleaning a namespace, should we clean also inner namespaces? Current implementation does so.

This PR will allow to do:

namespace :n do
  task :t do
    puts 'work'
  end
end

Rake::Namespace['n'].clear

fatkodima avatar Dec 21 '20 16:12 fatkodima