Class: Stonepath::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Stonepath::Generators::Base
- Defined in:
- lib/generators/stonepath.rb
Direct Known Subclasses
TaskGenerator, WorkitemModelGenerator, WorkitemScaffoldGenerator
Class Method Summary collapse
Class Method Details
.source_root ⇒ Object
6 7 8 |
# File 'lib/generators/stonepath.rb', line 6 def self.source_root @source_root ||= File.(File.join(File.dirname(__FILE__), 'stonepath', generator_name, 'templates')) end |