lib/kafo/progress_bars/black_white.rb in kafo-7.1.0 vs lib/kafo/progress_bars/black_white.rb in kafo-7.2.0
- old
+ new
@@ -4,10 +4,10 @@
private
def finite_template
'Installing'.ljust(22) + ' ${<msg>} [${<percent>%}]' +
- (@term_width >= 83 ? ' [${<bar>}]' : '')
+ ((@term_width >= 83) ? ' [${<bar>}]' : '')
end
def infinite_template
'Preparing installation ${<msg>}'
end