Sha256: 18da71c10c4c3e6c7c1edf0091aa15e0a350fcd829bb7a1dfa8ea1ccb44c3226

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 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_symbol
nugrant-1.4.1 test/resources/vagrantfiles/v1.defaults_using_symbol
nugrant-1.4.0 test/resources/vagrantfiles/v1.defaults_using_symbol
nugrant-1.3.0 test/resources/vagrantfiles/v1.defaults_using_symbol
nugrant-1.2.0 test/resources/vagrantfiles/v1.defaults_using_symbol