Module: Ember::GeneratorHelpers
- Included in:
- ControllerGenerator, ModelGenerator, ViewGenerator
- Defined in:
- lib/generators/ember/generator_helpers.rb
Instance Method Summary collapse
Instance Method Details
#application_name ⇒ Object
2 3 4 |
# File 'lib/generators/ember/generator_helpers.rb', line 2 def application_name Rails.application.class.name.split('::').first end |
#ember_path ⇒ Object
6 7 8 |
# File 'lib/generators/ember/generator_helpers.rb', line 6 def ember_path "app/assets/javascripts/ember" end |
#spec_path ⇒ Object
10 11 12 |
# File 'lib/generators/ember/generator_helpers.rb', line 10 def spec_path "spec/javascripts" end |