class Guacamole::Generators::CollectionGenerator

Public Instance Methods

create_collection_file() click to toggle source
# File lib/rails/generators/guacamole/collection/collection_generator.rb, line 11
def create_collection_file
  template 'collection.rb.tt', File.join('app/collections', class_path, "#{file_name}_collection.rb")
end