Module: ConfigBuilder

Defined in:
lib/config_builder/action/version_check.rb,
lib/config_builder.rb,
lib/config_builder/util.rb,
lib/config_builder/model.rb,
lib/config_builder/filter.rb,
lib/config_builder/loader.rb,
lib/config_builder/runner.rb,
lib/config_builder/version.rb,
lib/config_builder/filter_stack.rb,
lib/config_builder/class_registry.rb,
lib/config_builder/model_delegator.rb,
lib/config_builder/extension_handler.rb,
lib/config_builder/action/load_extensions.rb

Overview

Check for deprecated Vagrant versions

Defined Under Namespace

Modules: Action, Filter, Loader, Model, ModelDelegator, Util Classes: ClassRegistry, ExtensionHandler, FilterStack, Runner

Constant Summary collapse

VERSION =
'1.3.0'

Class Method Summary collapse

Class Method Details

.load(identifier, method, value) ⇒ Object



11
12
13
14
# File 'lib/config_builder.rb', line 11

def self.load(identifier, method, value)
  runner = ConfigBuilder::Runner.new
  runner.run(identifier, method, value)
end

.loggerObject



16
17
18
# File 'lib/config_builder.rb', line 16

def self.logger
  @logger ||= setup_logger
end

.source_rootObject



20
21
22
# File 'lib/config_builder.rb', line 20

def self.source_root
  @source_root ||= File.expand_path('..', __FILE__)
end

.template_rootObject



24
25
26
# File 'lib/config_builder.rb', line 24

def self.template_root
  @template_root ||= File.expand_path('../templates', source_root)
end