Class: Blacklight::DocumentGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Blacklight::DocumentGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/blacklight/document_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_solr_document ⇒ Object
18 19 20 |
# File 'lib/generators/blacklight/document_generator.rb', line 18 def create_solr_document template "solr_document.rb", "app/models/#{model_name}.rb" end |