Sha256: 00fdf658f478712f9a410429bedb66d2fc21c7159f9436ed6994eb43284b5a50

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

# We make use of the implementation details of the progress bar to also show our current status
class Tracksperanto::PBar < ::ProgressBar
  
  def fmt_title
    "%20s" % @title
  end
  
  def set_with_message(pcnt, message)
    @title = message
    set(pcnt)
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tracksperanto-2.4.1 lib/tracksperanto/pbar.rb
tracksperanto-2.3.3 lib/tracksperanto/pbar.rb
tracksperanto-2.3.2 lib/tracksperanto/pbar.rb
tracksperanto-2.3.1 lib/tracksperanto/pbar.rb
tracksperanto-2.3.0 lib/tracksperanto/pbar.rb