Type:
Module
Constants:

DEFAULT_ALIASES : { rails: { actions: '-a', orm: '-o', javascripts: '-j', javascript_engine: '-je', resource_controller: '-c', scaffold_controller: '-c', stylesheets: '-y', stylesheet_engine: '-se', template_engine: '-e', test_framework: '-t' }, test_unit: { fixture_replacement: '-r', } }

DEFAULT_OPTIONS : { rails: { 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, test_framework: false, template_engine: :erb } }
RAILS_DEV_PATH : File.expand_path("../../../../../..", File.dirname(__FILE__))

We need to store the RAILS_DEV_PATH in a constant, otherwise the path can change in Ruby 1.8.7 when we FileUtils.cd.

RESERVED_NAMES : %w[application destroy plugin runner test]
subclasses

subclasses() Class Public methods Track all generators subclasses.

2015-06-20 00:00:00
test_add_gem

test_add_gem() Instance Public methods

2015-06-20 00:00:00
hidden_namespaces

hidden_namespaces() Class Public methods

2015-06-20 00:00:00
test_add_path_gem

test_add_path_gem() Instance Public methods

2015-06-20 00:00:00
hide_namespace

hide_namespace(*namespaces) Class Public methods Alias for:

2015-06-20 00:00:00
fallbacks

fallbacks() Class Public methods Hold configured generators fallbacks. If a

2015-06-20 00:00:00
test_filter

test_filter() Instance Public methods

2015-06-20 00:00:00
no_color!

no_color!() Class Public methods Remove the color from output.

2015-06-20 00:00:00
hide_namespaces

hide_namespaces(*namespaces) Class Public methods Also aliased as:

2015-06-20 00:00:00
invoke

invoke(namespace, args=ARGV, config={}) Class Public methods Receives a namespace

2015-06-20 00:00:00