class RbVmomi::VIM::ObjectUpdate
Public Instance Methods
[](k)
click to toggle source
Alias for +to_hash+.
# File lib/rbvmomi/vim/ObjectUpdate.rb, line 9 def [](k) to_hash[k] end
to_hash()
click to toggle source
Represent this ObjectUpdate as a hash. @return [Hash] A hash from property paths to values.
# File lib/rbvmomi/vim/ObjectUpdate.rb, line 4 def to_hash @cached_hash ||= to_hash_uncached end
Private Instance Methods
to_hash_uncached()
click to toggle source
# File lib/rbvmomi/vim/ObjectUpdate.rb, line 15 def to_hash_uncached h = {} changeSet.each do |x| fail if h.member? x.name h[x.name] = x.val end h end