Class: Hoist::ProjectGenerator

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/hoist/project_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



12
13
14
# File 'lib/hoist/project_generator.rb', line 12

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#create_fastfileObject



16
17
18
# File 'lib/hoist/project_generator.rb', line 16

def create_fastfile
  template('templates/fastfile.tt', "Fastfile")
end