Class: StormForge::Thor::Init
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- StormForge::Thor::Init
- Includes:
- Thor::Actions
- Defined in:
- lib/thor/generators/init.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
6 7 8 |
# File 'lib/thor/generators/init.rb', line 6 def self.source_root File.join(File.dirname(__FILE__), "templates") end |
Instance Method Details
#stormfile ⇒ Object
10 11 12 |
# File 'lib/thor/generators/init.rb', line 10 def stormfile copy_file "Stormfile", File.join(path, "Stormfile") end |