Sha256: 66b10e8dc35df1bdaf8dfdf92654a93b9ca137a1baf58b4c3efd14bdf0adb10d

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 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)
    @meter = Fortschritt::Meter.new(total)
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortschritt-0.2.2 lib/fortschritt.rb