module Qiniu2Upyun::Utils
Public Class Methods
get_bar(total, title)
click to toggle source
# File lib/qiniu2upyun/utils.rb, line 4 def get_bar(total, title) ProgressBar.create( title: ("%12s" % title), length: 60, total: total, format: "%t |%B| %p%".green ) end