Sha256: b4d73949373504f48b1fdecc48ff1cce50cc83e5fa36434abd9fe9a80bf3b07f

Contents?: true

Size: 379 Bytes

Versions: 10

Compression:

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