Class: RbVmomi::VIM::ObjectContent
- Inherits:
-
Object
- Object
- RbVmomi::VIM::ObjectContent
- Defined in:
- lib/rbvmomi/vim/ObjectContent.rb
Overview
Copyright © 2011-2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: MIT
Instance Method Summary collapse
-
#[](k) ⇒ Object
Alias for
to_hash[k]
. -
#to_hash ⇒ Hash
Represent this ObjectContent as a hash.
Instance Method Details
#[](k) ⇒ Object
Alias for to_hash[k]
.
13 14 15 |
# File 'lib/rbvmomi/vim/ObjectContent.rb', line 13 def [](k) to_hash[k] end |
#to_hash ⇒ Hash
Represent this ObjectContent as a hash.
8 9 10 |
# File 'lib/rbvmomi/vim/ObjectContent.rb', line 8 def to_hash @cached_hash ||= to_hash_uncached end |