class Sequel::Dataset
In order to use `Tqdm` with Sequel
Datasets, we can simply extend `Sequel::Dataset` with the same `#with_progress` method
@see Enumerable#with_progress
@see sequel.jeremyevans.net/ @see sequel.jeremyevans.net/rdoc/classes/Sequel/Dataset.html
Public Instance Methods
with_progress(options = {})
click to toggle source
Returns a clone of `self` where all calls to `#each` and related methods will print an animated progress bar while iterating.
@param options [Hash] options are the same as Enumerable#with_progress
# File lib/tqdm/sequel.rb, line 21 def with_progress(options = {}) Tqdm::Decorator.new(self, options).enhance end
Also aliased as: tqdm