Class: FeatureBox::Generators::InitializerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- FeatureBox::Generators::InitializerGenerator
- Includes:
- GeneratorBase
- Defined in:
- lib/generators/feature_box/initializer_generator.rb
Instance Method Summary collapse
Methods included from GeneratorBase
#copy_migrations, included, #trim, #trim_f
Instance Method Details
#copy_initializer ⇒ Object
7 8 9 10 11 |
# File 'lib/generators/feature_box/initializer_generator.rb', line 7 def copy_initializer @has_devise = false template "initializers/initializer.rb", "config/initializers/feature_box.rb" end |