Class: Clock
- Inherits:
-
Object
- Object
- Clock
- Defined in:
- lib/clock.rb
Class Method Summary collapse
Class Method Details
.at(*params) ⇒ Object
2 3 4 5 |
# File 'lib/clock.rb', line 2 def self.at( *params ) #TODO fix this eval("Time.at #{params.join(',')}") end |
.now ⇒ Object
7 8 9 |
# File 'lib/clock.rb', line 7 def self.now Time.now end |
.time= ⇒ Object
11 12 13 |
# File 'lib/clock.rb', line 11 def self.time= raise "Cannot set real Clock class" end |