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