Module: Imposter::Generators::TemplatePath
- Included in:
- GenModelsGenerator, InstallGenerator
- Defined in:
- lib/generators/imposter.rb
Instance Method Summary collapse
Instance Method Details
#source_root ⇒ Object
4 5 6 |
# File 'lib/generators/imposter.rb', line 4 def source_root @_imposter_source_root ||= File.(File.join(File.dirname(__FILE__), 'imposter', generator_name, 'templates')) end |