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