镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Allow cleaning namespaces - #371

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

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 Compare March 25, 2022 10:00

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow cleaning namespaces.

1 participant