Sha256: d9b132cd853b7a35c13f72697b45eb6f6ca2ac951b3d18a304f07c22ff16e819

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 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_mixed_string_symbols
nugrant-1.4.1 test/resources/vagrantfiles/v1.defaults_mixed_string_symbols
nugrant-1.4.0 test/resources/vagrantfiles/v1.defaults_mixed_string_symbols
nugrant-1.3.0 test/resources/vagrantfiles/v1.defaults_mixed_string_symbols
nugrant-1.2.0 test/resources/vagrantfiles/v1.defaults_mixed_string_symbols