Sha256: 6ef60ed7fd9e3e18acd9cedfee2a8fec849209654f0dca5f1ccc706196bd21e0
Contents?: true
Size: 404 Bytes
Versions: 33
Compression:
Stored size: 404 Bytes
Contents
class RbVmomi::VIM::ObjectUpdate # Represent this ObjectUpdate as a hash. # @return [Hash] A hash from property paths to values. def to_hash @cached_hash ||= to_hash_uncached end # Alias for +to_hash[k]+. def [](k) to_hash[k] end private def to_hash_uncached h = {} changeSet.each do |x| fail if h.member? x.name h[x.name] = x.val end h end end
Version data entries
33 entries across 33 versions & 4 rubygems