Class: Metro::GenerateView
- Defined in:
- lib/commands/generate_view.rb
Instance Method Summary collapse
Methods inherited from Generator
Instance Method Details
#create_view_file ⇒ Object
16 17 18 |
# File 'lib/commands/generate_view.rb', line 16 def create_view_file template "view.yaml.tt", "views/#{view_filename}.yaml" end |