Class: Fresno::AppGenerator

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/fresno/app_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = [], options = {}, config = {}) ⇒ AppGenerator

Returns a new instance of AppGenerator.



11
12
13
14
15
# File 'lib/fresno/app_generator.rb', line 11

def initialize(args=[], options={}, config={})
  @args = args
  @options = options
  @config = config
end

Class Method Details

.source_rootObject



7
8
9
# File 'lib/fresno/app_generator.rb', line 7

def self.source_root
  @source_root ||= File.join(File.dirname(__FILE__), 'generator_data')
end