Class: BucketMaker::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- BucketMaker::Generators::InstallGenerator
- Defined in:
- lib/generators/bucket_maker/install_generator.rb
Overview
Installs the initializer
Instance Method Summary collapse
-
#copy_initializer ⇒ Object
Copies the initializer bucket_maker from the templates and pastes.
Instance Method Details
#copy_initializer ⇒ Object
Copies the initializer bucket_maker from the templates and pastes
14 15 16 |
# File 'lib/generators/bucket_maker/install_generator.rb', line 14 def copy_initializer template "bucket_maker.rb", "config/initializers/bucket_maker.rb" end |