# File lib/rbvmomi/vim/ManagedObject.rb, line 46 def collect *pathSet h = collect! *pathSet a = pathSet.map { |k| h[k.to_s] } if block_given? yield a else a end end