|
Class Time |
|
########################################################################### Extensions to time to allow comparisons with an early time class.
| Methods |
| Public Instance methods |
| <=>(other) |
# File lib/rake/ext/time.rb, line 6
6: def <=>(other)
7: if Rake::EarlyTime === other
8: - other.<=>(self)
9: else
10: rake_original_time_compare(other)
11: end
12: end