summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2020-11-04 21:30:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-12 21:35:17 +0900
commit028d52bb940d03c120bf274748f52794d001af47 (patch)
tree32740feb1082b269bfd8aeec0ebdcc34b60fba32 /ext
parent33574d57f19a19bab1d7ce70d3020150056624bf (diff)
[ruby/date] Numeric already includes Comparable
https://github.com/ruby/date/commit/f6140df0ad
Diffstat (limited to 'ext')
-rw-r--r--ext/date/lib/date.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/date/lib/date.rb b/ext/date/lib/date.rb
index b72b415..65c34ac 100644
--- a/ext/date/lib/date.rb
+++ b/ext/date/lib/date.rb
@@ -11,8 +11,6 @@ class Date
class Infinity < Numeric # :nodoc:
- include Comparable
-
def initialize(d=1) @d = d <=> 0 end
def d() @d end