Class: Initjs::Generators::AddGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Initjs::Generators::AddGenerator
- Includes:
- ResourceHelpers
- Defined in:
- lib/generators/initjs/add/add_generator.rb
Instance Method Summary collapse
Methods included from ResourceHelpers
#application_name, #application_path, #js_app_name
Instance Method Details
#create_files ⇒ Object
11 12 13 14 15 16 |
# File 'lib/generators/initjs/add/add_generator.rb', line 11 def create_files arguments actions.shift create_folders generate_action_files(actions) if actions.present? end |