Class: Hessian2::StructWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/hessian2/struct_wrapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#klassObject

Returns the value of attribute klass.



3
4
5
# File 'lib/hessian2/struct_wrapper.rb', line 3

def klass
  @klass
end

#objectObject

Returns the value of attribute object.



3
4
5
# File 'lib/hessian2/struct_wrapper.rb', line 3

def object
  @object
end