Class: Fresno::AppGenerator
- Inherits:
-
Thor
- Object
- Thor
- Fresno::AppGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/fresno/app_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args = [], options = {}, config = {}) ⇒ AppGenerator
constructor
A new instance of AppGenerator.
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=[], ={}, config={}) @args = args @options = @config = config end |
Class Method Details
.source_root ⇒ Object
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 |