Sha256: 6055af7bebf8caf0c5f53bfe2eb5dc50397bade0cc45c7b616d452d32577e5f9

Contents?: true

Size: 373 Bytes

Versions: 10

Compression:

Stored size: 373 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_symbol
nugrant-2.1.2 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.1.1 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.1.0 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.2 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.1 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.0 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.0.rc1 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.0.pre2 test/resources/vagrantfiles/v2.defaults_using_symbol
nugrant-2.0.0.pre1 test/resources/vagrantfiles/v2.defaults_using_symbol