Class: Hyrax::CollectionGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Hyrax::CollectionGenerator
- Defined in:
- lib/generators/hyrax/collection_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_collection ⇒ Object
12 13 14 |
# File 'lib/generators/hyrax/collection_generator.rb', line 12 def create_collection copy_file 'app/models/collection.rb', 'app/models/collection.rb' end |