class Time

Public Instance Methods

to_msgpack(packer=nil) click to toggle source
# File lib/messagepack_ext.rb, line 3
def to_msgpack(packer=nil)
  packer ||= MessagePack::Packer.new
  packer.pack self
end