Class: Hessian2::ClassWrapper
- Inherits:
-
Object
- Object
- Hessian2::ClassWrapper
- Defined in:
- lib/hessian2/class_wrapper.rb
Instance Attribute Summary collapse
-
#hessian_class ⇒ Object
Returns the value of attribute hessian_class.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(hessian_class, object) ⇒ ClassWrapper
constructor
A new instance of ClassWrapper.
Constructor Details
#initialize(hessian_class, object) ⇒ ClassWrapper
Returns a new instance of ClassWrapper.
4 5 6 |
# File 'lib/hessian2/class_wrapper.rb', line 4 def initialize(hessian_class, object) @hessian_class, @object = hessian_class, object end |
Instance Attribute Details
#hessian_class ⇒ Object
Returns the value of attribute hessian_class.
3 4 5 |
# File 'lib/hessian2/class_wrapper.rb', line 3 def hessian_class @hessian_class end |
#object ⇒ Object
Returns the value of attribute object.
3 4 5 |
# File 'lib/hessian2/class_wrapper.rb', line 3 def object @object end |