Class: Jamie::Vagrant::Config

Inherits:
Vagrant::Config::Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/jamie/vagrant.rb

Overview

A Vagrant confiuration class which wraps a Jamie::Config instance.

Author:

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



38
39
40
41
# File 'lib/jamie/vagrant.rb', line 38

def initialize
  @config = Jamie::Config.new
  @config.yaml_file = ENV['JAMIE_YAML'] if ENV['JAMIE_YAML']
end

Instance Method Details

#instance_variables_hashHash

Override default implementation to prevent serializing the config instance variable, which may contain circular references.

Returns:

  • (Hash)

    an empty Hash



47
48
49
# File 'lib/jamie/vagrant.rb', line 47

def instance_variables_hash
  {}
end