Class: Bricky::Commands::Install::InstallThor

Inherits:
Thor::Group
  • Object
show all
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_rootObject



22
23
24
# File 'lib/bricky/commands/install.rb', line 22

def self.source_root
  File.expand_path('../../../../etc/templates', __FILE__)
end

Instance Method Details

#executeObject



17
18
19
20
# File 'lib/bricky/commands/install.rb', line 17

def execute
  directory 'bricky'
  copy_file 'Brickyfile'
end