Sha256: 0e9edac0d337186b1cd2e048a969fd2d705caab7c711662d87efccfd39e923e6

Contents?: true

Size: 381 Bytes

Versions: 10

Compression:

Stored size: 381 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
nugrant-2.1.3 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.1.2 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.1.1 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.1.0 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.2 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.1 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.0 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.0.rc1 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.0.pre2 test/resources/vagrantfiles/v2.defaults_using_string
nugrant-2.0.0.pre1 test/resources/vagrantfiles/v2.defaults_using_string