Class: Excalibur::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Excalibur::Generators::InstallGenerator
- Defined in:
- lib/generators/excalibur/install_generator.rb
Overview
the install generator allows you to get a free to use and fully documented initializer file for your rails app by running: rails g excalibur:install
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
13 14 15 |
# File 'lib/generators/excalibur/install_generator.rb', line 13 def copy_initializer template 'excalibur.rb', 'config/initializers/excalibur.rb' end |