aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rake/ext/time.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
commitc4ee0df8ba2cf7cc6aaa785c8df20a91b1719021 (patch)
tree06beca468cce4a75a3e9890d18aa001ef2c41e54 /lib/rake/ext/time.rb
parent8c0b2a286080609613b6b007e030ff7c7adaa23c (diff)
downloadruby-c4ee0df8ba2cf7cc6aaa785c8df20a91b1719021.tar.gz
* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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