Class: VCenterDriver::VCenterCachedDatastore
- Inherits:
-
Object
- Object
- VCenterDriver::VCenterCachedDatastore
- Defined in:
- lib/vcenter_driver.rb
Instance Method Summary collapse
-
#initialize(rbVmomiDatastore) ⇒ VCenterCachedDatastore
constructor
A new instance of VCenterCachedDatastore.
- #name ⇒ Object
Constructor Details
#initialize(rbVmomiDatastore) ⇒ VCenterCachedDatastore
Returns a new instance of VCenterCachedDatastore.
1031 1032 1033 1034 |
# File 'lib/vcenter_driver.rb', line 1031 def initialize(rbVmomiDatastore) @ds = rbVmomiDatastore @attributes = Hash.new end |
Instance Method Details
#name ⇒ Object
1036 1037 1038 1039 1040 1041 |
# File 'lib/vcenter_driver.rb', line 1036 def name if !@attributes['name'] @attributes['name']=@ds.name end @attributes['name'] end |