Module: Mustache::Generators::TemplatePath

Included in:
ControllerGenerator, InstallGenerator, ScaffoldGenerator
Defined in:
lib/generators/mustache.rb

Instance Method Summary collapse

Instance Method Details

#source_rootObject



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

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