Class: C80Yax::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- C80Yax::Generators::InstallGenerator
- Defined in:
- lib/generators/c80_yax/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template_file ⇒ Object
13 14 15 16 |
# File 'lib/generators/c80_yax/install_generator.rb', line 13 def copy_template_file template 'app/helpers/c80_yax/items/show_item_helper.rb', File.join('app/helpers/c80_yax/items', 'show_item_helper.rb') end |
#create_root_folder ⇒ Object
9 10 11 |
# File 'lib/generators/c80_yax/install_generator.rb', line 9 def create_root_folder empty_directory 'app/helpers/c80_yax' end |