rlane/rbvmomi — pull request #16 by estonfer (2012-01-27 22:03:55+00:00)
Title: add the ability use an autovivifying hash in the inventory method

This allows for the use of the inventory method in this fashion

VIM = RbVmomi::VIM
vim = VIM.connect opts
dc=vim.serviceInstance.find_datacenter('MyDC')
inventory = dc.vmFolder.inventory( 'VirtualMachine' => :all )

otherwise this method returns an error about assigning an array to a NilClass.