Class: BirdsongGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



3
4
5
# File 'lib/generators/birdsong_generator.rb', line 3

def copy_initializer
  copy_file "birdsong.rb", "config/initializers/birdsong.rb"
end