Class: RbVmomi::VIM::ObjectUpdate

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

Overview

Copyright © 2011-2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: MIT

Instance Method Summary collapse

Instance Method Details

#[](k) ⇒ Object

Alias for to_hash[k].



12
13
14
# File 'lib/rbvmomi/vim/ObjectUpdate.rb', line 12

def [](k)
  to_hash[k]
end

#to_hashHash

Represent this ObjectUpdate as a hash.

Returns:

  • (Hash)

    A hash from property paths to values.



7
8
9
# File 'lib/rbvmomi/vim/ObjectUpdate.rb', line 7

def to_hash
  @cached_hash ||= to_hash_uncached
end