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.
10 11 12 13 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 10 def initialize(obj, lock = nil) @obj = obj @lock = lock end |
Instance Attribute Details
#lock ⇒ Object
Returns the value of attribute lock.
8 9 10 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 8 def lock @lock end |
#obj ⇒ Object
Returns the value of attribute obj.
8 9 10 |
# File 'lib/VMwareWebService/DMiqVim.rb', line 8 def obj @obj end |