Method: Sequel::Dataset#with_progress

Defined in:
lib/tqdm/sequel.rb

#with_progress(options = {}) ⇒ Object Also known as: tqdm

Returns a clone of self where all calls to #each and related methods will print an animated progress bar while iterating.

Parameters:

  • options (Hash) (defaults to: {})

    options are the same as Enumerable#with_progress

See Also:



21
22
23
# File 'lib/tqdm/sequel.rb', line 21

def with_progress(options = {})
  Tqdm::Decorator.new(self, options).enhance
end