File: extension_value.rb

package info (click to toggle)
ruby-msgpack 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: ruby: 4,789; ansic: 4,309; java: 1,809; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
module MessagePack

  #
  # 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.
  #
  ExtensionValue = Struct.new(:type, :payload)
end