Class: Hoist::ProjectGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Hoist::ProjectGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/hoist/project_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
12 13 14 |
# File 'lib/hoist/project_generator.rb', line 12 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#create_fastfile ⇒ Object
16 17 18 |
# File 'lib/hoist/project_generator.rb', line 16 def create_fastfile template('templates/fastfile.tt', "Fastfile") end |