Sha256: 8a763d5bfb2378cb5937f8604a23aa25329a6bc8a3ad6afb4b41571f72e049c4
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
Vagrant.configure("2") do |config| config.user.defaults = { nodes: [ {ip: '192.168.100.10'}, {ip: '192.168.100.11'} ] } config.user.nodes.each_with_index do |node, index| puts "Node ##{index}, string: #{node['ip']}" puts "Node ##{index}, symbol: #{node[:ip]}" puts "Node ##{index}, method: #{node.ip}" puts "" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nugrant-2.1.4 | test/resources/vagrantfiles/v2.bag_inside_array |