Class: Lono::AppFile::Base

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Includes:
Blueprint::Root
Defined in:
lib/lono/app_file/base.rb

Direct Known Subclasses

Build, Upload

Instance Method Summary collapse

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, options={})
  @blueprint, @options = blueprint, options
  @template = @options[:template] || @blueprint
  Lono::ProjectChecker.check
  set_blueprint_root(@blueprint)
  Lono::ProjectChecker.empty_templates
  initialize_variables
end

Instance Method Details

#initialize_variablesObject



16
17
# File 'lib/lono/app_file/base.rb', line 16

def initialize_variables
end