Sha256: 619cdcbaf320d0244968c389bfa0a6dd27623bf8c101b6609619461c5340c6da
Contents?: true
Size: 717 Bytes
Versions: 4
Compression:
Stored size: 717 Bytes
Contents
require 'tqdm/version' require 'tqdm/decorator' require 'core_ext/enumerable' # Add a progress bar to your loops in a second. # A port of Python's [tqdm library](https://github.com/tqdm/tqdm), although we're currently # closer to the feature set of [@noamraph's original release](https://github.com/noamraph/tqdm). # # Specifically, `Tqdm` enhances `Enumerable` by printing a progress indicator whenever # iterating with `#each` or its close relatives. # # @author Theodore Pak # @see https://github.com/tqdm/tqdm module Tqdm class << self # Upgrades `Sequel::Datasets` with the #with_progress method. # @see Enumerable#with_progress def enhance_sequel! require 'tqdm/sequel' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tqdm-0.4.1 | lib/tqdm.rb |
tqdm-0.4.0 | lib/tqdm.rb |
tqdm-0.3.0 | lib/tqdm.rb |
tqdm-0.2.0 | lib/tqdm.rb |