Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cleaning namespaces #371

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fatkodima
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Allow cleaning namespaces.
1 participant