Sha256: 1b41d35840ff73f5cfbcc4f5ef61d1e3943cae096d88df71dd991ffb99d10aa3

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'lotus/assets/compressors/abstract'

module Lotus
  module Assets
    module Compressors
      # No-op, it returns the asset contents without to compress them.
      #
      # @since 0.1.0
      # @api private
      class NullCompressor < Abstract
        # @since 0.1.0
        # @api private
        def compress(filename)
          read(filename)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lotus-assets-0.1.0 lib/lotus/assets/compressors/null_compressor.rb