Class: Hessian2::ClassWrapper

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_classObject

Returns the value of attribute hessian_class.



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

def hessian_class
  @hessian_class
end

#objectObject

Returns the value of attribute object.



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

def object
  @object
end