Class: IndexedSearch::InitializerGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject

Copy the template file into place



8
9
10
# File 'lib/generators/indexed_search/initializer/initializer_generator.rb', line 8

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