Class: MessagePack::ExtensionValue
- Inherits:
-
Struct
- Object
- Struct
- MessagePack::ExtensionValue
- Defined in:
- doclib/msgpack/extension_value.rb
Overview
MessagePack::ExtensionValue is a struct to represent unknown ext type object. Its contents are accessed by type and payload (messagepack bytes representation) methods. And it is extended to add to_msgpack object.
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload
8 9 10 |
# File 'doclib/msgpack/extension_value.rb', line 8 def payload @payload end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'doclib/msgpack/extension_value.rb', line 8 def type @type end |