# -- coding: utf-8 require "rubygems" require "msgpack" class KyotoTycoon module Serializer class Msgpack def self.encode(obj) obj.to_msgpack end def self.decode(str) MessagePack.unpack(str) if str end end end end