Skip to content

Allow cleaning namespaces - #371

Open
fatkodima wants to merge 1 commit into
ruby:masterfrom
fatkodima:clear-namespace
Open

Allow cleaning namespaces#371
fatkodima wants to merge 1 commit into
ruby:masterfrom
fatkodima:clear-namespace

Conversation

@fatkodima

Copy link
Copy Markdown

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

@hsbt
hsbt force-pushed the clear-namespace branch from b151e4f to af353e7 比较 March 25, 2022 10:00
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

Allow cleaning namespaces.

1 participant