Class: Foxynews::Generators::InitializerGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



7
8
9
# File 'lib/generators/foxynews/initializer_generator.rb', line 7

def create_initializer_file
  copy_file "foxynews_template.rb", "config/initializers/foxynews.rb"
end