class Time

########################################################################### Extensions to time to allow comparisons with an early time class.

Public Instance Methods

<=>(other) click to toggle source
   # File lib/rake/ext/time.rb
 6 def <=>(other)
 7   if Rake::EarlyTime === other
 8     - other.<=>(self)
 9   else
10     rake_original_time_compare(other)
11   end
12 end
Also aliased as: rake_original_time_compare
rake_original_time_compare(other)
Alias for: <=>