class Symbol
def self.from_msgpack_ext(data)
def self.from_msgpack_ext(data) # from_msgpack_ext is supposed to parse a binary string. # The canonical way to do it for symbols would be: # data.unpack1('A*').to_sym # However in this instance we can take a shortcut data.to_sym end
def to_msgpack_with_packer(packer)
def to_msgpack_with_packer(packer) packer.write_symbol self packer end