Class: Metro::GenerateModel
- Defined in:
- lib/commands/generate_model.rb
Instance Method Summary collapse
Methods inherited from Generator
Instance Method Details
#create_model_file ⇒ Object
19 20 21 |
# File 'lib/commands/generate_model.rb', line 19 def create_model_file template "model.rb.tt", "models/#{model_filename}.rb" end |