Sha256: a2362b70c4145c09cc9b52bcb5e5f4566478e91694f5fbe4d33f6c705abaef83
Contents?: true
Size: 411 Bytes
Versions: 2
Compression:
Stored size: 411 Bytes
Contents
require "singleton" module MessageQueue module Serializers class Serializer include Singleton class << self def load(string, options = {}) instance.load(string, options) end def dump(object, options = {}) instance.dump(object, options) end def content_type instance.content_type end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
message_queue-0.1.1 | lib/message_queue/serializer.rb |
message_queue-0.1.0 | lib/message_queue/serializer.rb |