Module: Stache::Generators::TemplatePath

Included in:
ControllerGenerator
Defined in:
lib/generators/stache.rb

Instance Method Summary collapse

Instance Method Details

#source_rootObject



4
5
6
# File 'lib/generators/stache.rb', line 4

def source_root
  @_mustache_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'stache', generator_name, 'templates'))
end