lib/rbvmomi/vim/Datacenter.rb in rbvmomi-1.8.5 vs lib/rbvmomi/vim/Datacenter.rb in rbvmomi-1.9.0

- old
+ new

@@ -11,7 +11,12 @@ # Traverse the given inventory +path+ to find a VirtualMachine. def find_vm path vmFolder.traverse path, RbVmomi::VIM::VirtualMachine end + + # Traverse the given inventory +path+ to find a Folder. + def find_folder path + vmFolder.traverse path, RbVmomi::VIM::Folder + end end