class ProgressBar::Components::Time
def estimated(out_of_bounds_time_format)
def estimated(out_of_bounds_time_format) memo_estimated_seconds_remaining = estimated_seconds_remaining return OOB_UNKNOWN_TIME_TEXT unless memo_estimated_seconds_remaining hours, minutes, seconds = timer.divide_seconds(memo_estimated_seconds_remaining) if hours > OOB_LIMIT_IN_HOURS && out_of_bounds_time_format OOB_TEXT_TO_FORMAT.fetch(out_of_bounds_time_format) else TIME_FORMAT % [hours, minutes, seconds] end end