Class: ProgressBar::Time

Inherits:
Object
  • Object
show all
Defined in:
lib/progress_bar/time.rb

Class Method Summary collapse

Class Method Details

.now(time = ::Time) ⇒ Object



3
4
5
6
7
# File 'lib/progress_bar/time.rb', line 3

def self.now(time = ::Time)
  @@time = time

  @@time.send unmocked_time_method
end