Class: NgAppGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- NgAppGenerator
- Defined in:
- lib/generators/ng_app/ng_app_generator.rb
Instance Method Summary collapse
- #create_app_module ⇒ Object
- #create_components_module ⇒ Object
- #create_data_module ⇒ Object
- #create_sections_module ⇒ Object
Instance Method Details
#create_app_module ⇒ Object
5 6 7 |
# File 'lib/generators/ng_app/ng_app_generator.rb', line 5 def create_app_module template "app_module.js.erb", "app/assets/javascripts/module.js" end |
#create_components_module ⇒ Object
9 10 11 |
# File 'lib/generators/ng_app/ng_app_generator.rb', line 9 def create_components_module template "components_module.js.erb", "app/assets/javascripts/components/module.js" end |
#create_data_module ⇒ Object
13 14 15 |
# File 'lib/generators/ng_app/ng_app_generator.rb', line 13 def create_data_module template "data_module.js.erb", "app/assets/javascripts/data/module.js" end |
#create_sections_module ⇒ Object
17 18 19 |
# File 'lib/generators/ng_app/ng_app_generator.rb', line 17 def create_sections_module template "sections_module.js.erb", "app/assets/javascripts/sections/module.js" end |