Class: IndexedSearch::ApplicationIndexerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- IndexedSearch::ApplicationIndexerGenerator
- Defined in:
- lib/generators/indexed_search/application_indexer/application_indexer_generator.rb
Overview
Generate an application indexer
Instance Method Summary collapse
-
#copy_application_indexer_file ⇒ Object
Copy the template file into place.
Instance Method Details
#copy_application_indexer_file ⇒ Object
Copy the template file into place
10 11 12 |
# File 'lib/generators/indexed_search/application_indexer/application_indexer_generator.rb', line 10 def copy_application_indexer_file copy_file "application_indexer.rb", "app/indexers/application_indexer.rb" end |