Sha256: 1b87913c52d350b46848fc3e10d04a49c380a053dc5a7141ecb85f2faeb210b8

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

# encoding: UTF-8

Time.class_eval do
  def to_msgpack(out='')
    self.to_s.to_msgpack(out)
  end
end

DateTime.class_eval do
  def to_msgpack(out='')
    self.to_s.to_msgpack(out)
  end
end

Date.class_eval do
  def to_msgpack(out='')
    self.to_s.to_msgpack(out)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
msgpack-rails-0.0.1 lib/msgpack_rails/core_ext.rb