lib/tty/progressbar/formatter/total.rb in tty-progressbar-0.4.0 vs lib/tty/progressbar/formatter/total.rb in tty-progressbar-0.5.0

- old
+ new

@@ -1,10 +1,10 @@ # coding: utf-8 module TTY class ProgressBar class TotalFormatter - MATCHER = /:total(?!_)/.freeze + MATCHER = /:total\b/i.freeze def initialize(progress, *args, &block) @progress = progress end