Class: MetaSms::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- MetaSms::InstallGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/meta_sms/install_generator.rb
Overview
This creates MetaSms initializer for your application It will copy the config file template in config/initializers/meta_sms.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
16 17 18 |
# File 'lib/generators/meta_sms/install_generator.rb', line 16 def copy_initializer template "meta_sms_initializer.rb", "config/initializers/meta_sms.rb" end |