Class: Metro::GenerateView

Inherits:
Generator
  • Object
show all
Defined in:
lib/commands/generate_view.rb

Instance Method Summary collapse

Methods inherited from Generator

source_root

Instance Method Details

#create_view_fileObject



16
17
18
# File 'lib/commands/generate_view.rb', line 16

def create_view_file
  template "view.yaml.tt", "views/#{view_filename}.yaml"
end