Class: Squeel::Generators::InitializerGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/squeel/initializer_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



9
10
11
# File 'lib/generators/squeel/initializer_generator.rb', line 9

def copy_initializer
  copy_file 'squeel.rb', 'config/initializers/squeel.rb'
end