Sha256: d46b50d89f56549b090e786457fe4e09dc99978c6ecc4425a2edcb166b38475e

Contents?: true

Size: 162 Bytes

Versions: 3

Compression:

Stored size: 162 Bytes

Contents

module Findable
  module Serializer
    def serialize(string)
      Oj.dump(string)
    end

    def deserialize(string)
      Oj.load(string)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
findable-0.0.3 lib/findable/serializer.rb
findable-0.0.2 lib/findable/serializer.rb
findable-0.0.1 lib/findable/serializer.rb