Class: Squeel::Generators::InitializerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Squeel::Generators::InitializerGenerator
- Defined in:
- lib/generators/squeel/initializer_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
9 10 11 |
# File 'lib/generators/squeel/initializer_generator.rb', line 9 def copy_initializer copy_file 'squeel.rb', 'config/initializers/squeel.rb' end |