Sha256: 3bfee95e45a2e86f20f13fd471b1ca65cd263e0b2b6799c4673c7ebeff0010e7

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

Vagrant.require_plugin('nugrant')

Vagrant.configure("2") do |config|
  config.user.defaults = {
    'single' => 1,
    :local => {
        'first' => "value1",
        :second => "value2"
    }
  }

  puts config.user.single
  puts config.user[:single]

  puts config.user.local.first
  puts config.user[:local]["first"]

  puts config.user.local.second
  puts config.user["local"][:second]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nugrant-1.4.2 test/resources/vagrantfiles/v2.defaults_mixed_string_symbols
nugrant-1.4.1 test/resources/vagrantfiles/v2.defaults_mixed_string_symbols
nugrant-1.4.0 test/resources/vagrantfiles/v2.defaults_mixed_string_symbols
nugrant-1.3.0 test/resources/vagrantfiles/v2.defaults_mixed_string_symbols
nugrant-1.2.0 test/resources/vagrantfiles/v2.defaults_mixed_string_symbols