# 目录
css/
erb/
js/assets/
rails/
test_unit/
# 文件
actions.rb
active_model.rb
app_base.rb
base.rb
erb.rb
generated_attribute.rb
migration.rb
model_helpers.rb
named_base.rb
resouce_helpers.rb
test_case.rb
test_unit.rb
# 目录
actions/
testing/
Base、Named Base 以及 App Base.
css/
erb/
js/assets/
rails/
test_unit/
api_only!
fallbacks
help
hidden_namespaces & hide_namespace & hide_namespaces
invoke
levenshtein_distance
no_color!
print_generators
public_namespaces
sorted_groups
subclasses
DEFAULT_ALIASES = {
rails: {
actions: '-a',
orm: '-o',
javascripts: '-j',
javascript_engine: '-je',
resource_controller: '-c',
scaffold_controller: '-c',
stylesheets: '-y',
stylesheet_engine: '-se',
scaffold_stylesheet: '-ss',
template_engine: '-e',
test_framework: '-t'
},
test_unit: {
fixture_replacement: '-r',
}
}
DEFAULT_OPTIONS = {
rails: {
api: false,
assets: true,
force_plural: false,
helper: true,
integration_tool: nil,
javascripts: true,
javascript_engine: :js,
orm: false,
resource_controller: :controller,
resource_route: true,
scaffold_controller: :scaffold_controller,
stylesheets: true,
stylesheet_engine: :css,
scaffold_stylesheet: true,
test_framework: false,
template_engine: :erb
}
}