class Object
Public Class Methods
from_msgpack_ext(data)
click to toggle source
# File lib/magic_pipe/codecs/message_pack.rb, line 36 def self.from_msgpack_ext(data) Time.zone.parse(data) end
Public Instance Methods
to_msgpack_ext()
click to toggle source
# File lib/magic_pipe/codecs/message_pack.rb, line 32 def to_msgpack_ext ("TWZ[" + self.to_s + "]").to_msgpack end