Sha256: a1753c526a2679610d22067c66bbaa5364fbf9816a09bf8b6eb5acd1033496c4

Contents?: true

Size: 279 Bytes

Versions: 7

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

module Paquito
  class Compressor
    def initialize(compressor)
      @compressor = compressor
    end

    def dump(serial)
      @compressor.compress(serial)
    end

    def load(payload)
      @compressor.decompress(payload)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paquito-0.11.2 lib/paquito/compressor.rb
paquito-0.11.1 lib/paquito/compressor.rb
paquito-0.11.0 lib/paquito/compressor.rb
paquito-0.10.0 lib/paquito/compressor.rb
paquito-0.9.2 lib/paquito/compressor.rb
paquito-0.9.1 lib/paquito/compressor.rb
paquito-0.9.0 lib/paquito/compressor.rb