Class: RbVmomi::VIM::ObjectUpdate

Inherits:
Object
  • Object
show all
Defined in:
lib/rbvmomi/vim/ObjectUpdate.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) [](k)

Alias for to_hash.



9
10
11
# File 'lib/rbvmomi/vim/ObjectUpdate.rb', line 9

def [](k)
  to_hash[k]
end

- (Hash) to_hash

Represent this ObjectUpdate as a hash.

Returns:

  • (Hash)

    A hash from property paths to values.



4
5
6
# File 'lib/rbvmomi/vim/ObjectUpdate.rb', line 4

def to_hash
  @cached_hash ||= to_hash_uncached
end