Sha256: 38a680d42431e55a980f4f0af8b06c6b435055d8a7f8ba10c3a17d41c88718ca

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require 'fortschritt/version'
require 'fortschritt/meter'
require 'fortschritt/printer'
require 'fortschritt/enumerable'

module Fortschritt
  def self.increment
    @meter and @meter.increment
  end

  def self.init(total, silent: false)
    @meter = Fortschritt::Meter.new(total, silent: silent)
  end

  def self.printer
    @printer ||= Fortschritt::Printer.new
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fortschritt-1.0.3 lib/fortschritt.rb
fortschritt-1.0.2 lib/fortschritt.rb
fortschritt-1.0.1 lib/fortschritt.rb
fortschritt-1.0.0 lib/fortschritt.rb
fortschritt-0.3.6 lib/fortschritt.rb