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