From 028d52bb940d03c120bf274748f52794d001af47 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 4 Nov 2020 21:30:25 +0900 Subject: [ruby/date] Numeric already includes Comparable https://github.com/ruby/date/commit/f6140df0ad --- ext/date/lib/date.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/date/lib') diff --git a/ext/date/lib/date.rb b/ext/date/lib/date.rb index b72b4157f2..65c34ace49 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 -- cgit v1.2.3