Sha256: 4a47cf6eb7a3fd6986bf3296ef04d7543eeac3f16d74a69406f776cc1fc389e7

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

class Yologga::Gzip
  attr_accessor :filename

  def initialize(filename)
    self.filename = filename
  end

  def call
    return unless Yologga.gzip
    system("gzip #{filename} &")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yologga-0.3.3 lib/yologga/gzip.rb
yologga-0.3.2 lib/yologga/gzip.rb