Class: Lono::Template::Base
- Inherits:
-
Object
- Object
- Lono::Template::Base
- Includes:
- Blueprint::Root
- Defined in:
- lib/lono/template/base.rb
Instance Method Summary collapse
-
#initialize(blueprint, options = {}) ⇒ Base
constructor
A new instance of Base.
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.
5 6 7 8 9 10 11 |
# File 'lib/lono/template/base.rb', line 5 def initialize(blueprint, ={}) @blueprint, @options = blueprint, @template = @options[:template] || @blueprint Lono::ProjectChecker.check set_blueprint_root(@blueprint) Lono::ProjectChecker.empty_templates end |