Class: Metro::GenerateScene
- Defined in:
- lib/commands/generate_scene.rb
Instance Method Summary collapse
Methods inherited from Generator
Instance Method Details
#create_scene_file ⇒ Object
26 27 28 |
# File 'lib/commands/generate_scene.rb', line 26 def create_scene_file template "scene.rb.tt", "scenes/#{scene_filename}.rb" end |
#create_view_file ⇒ Object
30 31 32 |
# File 'lib/commands/generate_scene.rb', line 30 def create_view_file template "view.yaml.tt", "views/#{view_filename}.yaml" end |