module_namespacing(&block)
Wrap block with namespace of current application if namespace exists and is not skipped
# File railties/lib/rails/generators/base.rb, line 296 def module_namespacing(&block) # :doc: content = capture(&block) content = wrap_with_namespace(content) if namespaced? concat(content) end