Module: Imposter::Generators::TemplatePath

Included in:
GenModelsGenerator, InstallGenerator
Defined in:
lib/generators/imposter.rb

Instance Method Summary collapse

Instance Method Details

#source_rootObject



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

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