Class: MiqDrbReturn
- Inherits:
-
Object
- Object
- MiqDrbReturn
- Defined in:
- lib/VMwareWebService/DMiqVim.rb
Overview
Class used to wrap locked object and return it through DRB.
Instance Attribute Summary collapse
-
#lock ⇒ Object
Returns the value of attribute lock.
-
#obj ⇒ Object
Returns the value of attribute obj.
Instance Method Summary collapse
-
#initialize(obj, lock = nil) ⇒ MiqDrbReturn
constructor
A new instance of MiqDrbReturn.
Constructor Details
#initialize(obj, lock = nil) ⇒ MiqDrbReturn
Returns a new instance of MiqDrbReturn.
11 12 13 14 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 11 def initialize(obj, lock = nil) @obj = obj @lock = lock end |
Instance Attribute Details
#lock ⇒ Object
Returns the value of attribute lock.
9 10 11 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 9 def lock @lock end |
#obj ⇒ Object
Returns the value of attribute obj.
9 10 11 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 9 def obj @obj end |