Class: Lono::AppFile::Base
- Inherits:
-
Object
- Object
- Lono::AppFile::Base
- Extended by:
- Memoist
- Includes:
- Blueprint::Root
- Defined in:
- lib/lono/app_file/base.rb
Instance Method Summary collapse
-
#initialize(blueprint, options = {}) ⇒ Base
constructor
A new instance of Base.
- #initialize_variables ⇒ Object
Methods included from Blueprint::Root
#bundler_groups, #find_blueprint_root, #require_bundle_gems, #set_blueprint_root
Constructor Details
#initialize(blueprint, options = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 12 13 14 |
# File 'lib/lono/app_file/base.rb', line 7 def initialize(blueprint, ={}) @blueprint, @options = blueprint, @template = @options[:template] || @blueprint Lono::ProjectChecker.check set_blueprint_root(@blueprint) Lono::ProjectChecker.empty_templates initialize_variables end |
Instance Method Details
#initialize_variables ⇒ Object
16 17 |
# File 'lib/lono/app_file/base.rb', line 16 def initialize_variables end |