method
hidden_namespaces
v3.2.1 -
Show latest stable
- Class:
Rails::Generators
hidden_namespaces()public
No documentation available.
# File railties/lib/rails/generators.rb, line 176
def self.hidden_namespaces
@hidden_namespaces ||= begin
orm = options[:rails][:orm]
test = options[:rails][:test_framework]
template = options[:rails][:template_engine]
css = options[:rails][:stylesheet_engine]
[
"rails",
"#{orm}:migration",
"#{orm}:model",
"#{orm}:observer",
"#{orm}:session_migration",
"#{test}:controller",
"#{test}:helper",
"#{test}:integration",
"#{test}:mailer",
"#{test}:model",
"#{test}:observer",
"#{test}:scaffold",
"#{test}:view",
"#{test}:performance",
"#{test}:plugin",
"#{template}:controller",
"#{template}:scaffold",
"#{template}:mailer",
"#{css}:scaffold",
"#{css}:assets",
"css:assets",
"css:scaffold"
]
end
end