Class: CurationConcerns::CollectionGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/curation_concerns/collection_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_collectionObject



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