class Rails::Generators::Base
def module_namespacing(&block) # :doc:
if namespace exists and is not skipped
Wrap block with namespace of current application
def module_namespacing(&block) # :doc: content = capture(&block) content = wrap_with_namespace(content) if namespaced? concat(content) end