lib/tty/progressbar/multi.rb
# Calculate total maximum progress of all bars
#
# @return [Integer]
#
# @api public
Calculate total maximum progress of all bars
Calculate total maximum progress of all bars
def total
        synchronize do
          (@bars - [@top_bar]).map(&:total).compact.reduce(&:+)
        end
      end
def total synchronize do ( @bars - [ @top_bar ] ) . map ( & :total ) . compact . reduce ( & :+ ) end end
Calculate total maximum progress of all bars
Calculate total maximum progress of all bars
None
Integer
api
None