Sha256: 128d583b1c510cd022dfc20977dafde2352d62b25906ad199918a546e0b9f91a

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

Vagrant::Config.run 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/v1.defaults_using_string
nugrant-1.4.1 test/resources/vagrantfiles/v1.defaults_using_string
nugrant-1.4.0 test/resources/vagrantfiles/v1.defaults_using_string
nugrant-1.3.0 test/resources/vagrantfiles/v1.defaults_using_string
nugrant-1.2.0 test/resources/vagrantfiles/v1.defaults_using_string