| .. | |||||
| core.rb | |||||
| module.rb | |||||
| string.rb | |||||
| time.rb |
#--
# Extensions to time to allow comparisons with an early time class.
class Time
alias rake_original_time_compare :<=>
def <=>(other)
if Rake::EarlyTime === other
- other.<=>(self)
else
rake_original_time_compare(other)
end
end
end
| .. | |||||
| core.rb | |||||
| module.rb | |||||
| string.rb | |||||
| time.rb |