Class: Bricky::Commands::Install::InstallThor
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Bricky::Commands::Install::InstallThor
- Includes:
- Thor::Actions
- Defined in:
- lib/bricky/commands/install.rb
Overview
Inner class :( just to work with thor
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
22 23 24 |
# File 'lib/bricky/commands/install.rb', line 22 def self.source_root File.('../../../../etc/templates', __FILE__) end |
Instance Method Details
#execute ⇒ Object
17 18 19 20 |
# File 'lib/bricky/commands/install.rb', line 17 def execute directory 'bricky' copy_file 'Brickyfile' end |