Class: InitializerGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



6
7
8
# File 'lib/generators/initializer/initializer_generator.rb', line 6

def copy_initializer_file
  copy_file "initializer.rb", "config/initializers/canary_labs.rb"
end