Class: Fastaccess::Generators::InitializeGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



7
8
9
# File 'lib/generators/fastaccess/initialize_generator.rb', line 7

def create_initializer_file
  copy_file "initializer.rb", "config/initializers/fastaccess.rb"
end