Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/rake.rb
Overview
Extensions to time to allow comparisons with an early time class.
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
1373 1374 1375 1376 1377 1378 1379 |
# File 'lib/rake.rb', line 1373 def <=>(other) if Rake::EarlyTime === other - other.<=>(self) else rake_original_time_compare(other) end end |
#rake_original_time_compare ⇒ Object
1372 |
# File 'lib/rake.rb', line 1372 alias rake_original_time_compare :<=> |