aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rake/ext/time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/ext/time.rb')
-rw-r--r--lib/rake/ext/time.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/rake/ext/time.rb b/lib/rake/ext/time.rb
deleted file mode 100644
index d3b8cf9dc1..0000000000
--- a/lib/rake/ext/time.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-#--
-# Extensions to time to allow comparisons with early and late time classes.
-
-require 'rake/early_time'
-require 'rake/late_time'
-
-class Time # :nodoc: all
- alias rake_original_time_compare :<=>
- def <=>(other)
- if Rake::EarlyTime === other || Rake::LateTime === other
- - other.<=>(self)
- else
- rake_original_time_compare(other)
- end
- end
-end