Class: Dbla::ModelsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Dbla::ModelsGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/dbla/models_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_models ⇒ Object
13 14 15 16 |
# File 'lib/generators/dbla/models_generator.rb', line 13 def create_models template "item.rb", "app/models/item.rb" template "collection.rb", "app/models/collection.rb" end |