Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/axiom/core_ext/time.rb
Overview
Extend Time with methods to find the previous Time
Instance Method Summary collapse
-
#pred ⇒ Time
Decrement the Time by one second.
Instance Method Details
#pred ⇒ Time
Decrement the Time by one second
15 16 17 |
# File 'lib/axiom/core_ext/time.rb', line 15 def pred self - 1 end |