lib/tty/progressbar/formatter/total.rb in tty-progressbar-0.5.1 vs lib/tty/progressbar/formatter/total.rb in tty-progressbar-0.6.0

- old
+ new

@@ -1,8 +1,11 @@ # coding: utf-8 module TTY class ProgressBar + # Used by {Pipeline} to format :total token + # + # @api private class TotalFormatter MATCHER = /:total\b/i.freeze def initialize(progress, *args, &block) @progress = progress