summaryrefslogtreecommitdiff
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.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rake/ext/time.rb b/lib/rake/ext/time.rb
index 7877abf0ce..ea8b037e39 100644
--- a/lib/rake/ext/time.rb
+++ b/lib/rake/ext/time.rb
@@ -1,6 +1,8 @@
#--
# Extensions to time to allow comparisons with an early time class.
+require 'rake/early_time'
+
class Time
alias rake_original_time_compare :<=>
def <=>(other)
@@ -11,4 +13,3 @@ class Time
end
end
end
-