Class ProgressBar::Components::Time
In: lib/ruby-progressbar/components/time.rb
Parent: Object

Methods

Constants

TIME_FORMAT = '%02d:%02d:%02d'.freeze
OOB_TIME_FORMATS = [:unknown, :friendly, nil].freeze
OOB_LIMIT_IN_HOURS = 99
OOB_UNKNOWN_TIME_TEXT = '??:??:??'.freeze
OOB_FRIENDLY_TIME_TEXT = '> 4 Days'.freeze
NO_TIME_ELAPSED_TEXT = '--:--:--'.freeze
ESTIMATED_LABEL = ' ETA'.freeze
ELAPSED_LABEL = 'Time'.freeze

Attributes

out_of_bounds_time_format  [R] 
progress  [RW] 
timer  [RW] 

Public Class methods

Public Instance methods

Protected Instance methods

[Validate]