diff options
Diffstat (limited to 'lib/rake/ext/time.rb')
| -rw-r--r-- | lib/rake/ext/time.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/rake/ext/time.rb b/lib/rake/ext/time.rb deleted file mode 100644 index ea8b037e39..0000000000 --- a/lib/rake/ext/time.rb +++ /dev/null @@ -1,15 +0,0 @@ -#-- -# Extensions to time to allow comparisons with an early time class. - -require 'rake/early_time' - -class Time - alias rake_original_time_compare :<=> - def <=>(other) - if Rake::EarlyTime === other - - other.<=>(self) - else - rake_original_time_compare(other) - end - end -end |
