diff options
author | Akira Matsuda <ronnie@dio.jp> | 2020-11-04 21:30:25 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-12 21:35:17 +0900 |
commit | 028d52bb940d03c120bf274748f52794d001af47 (patch) | |
tree | 32740feb1082b269bfd8aeec0ebdcc34b60fba32 /ext/date/lib/date.rb | |
parent | 33574d57f19a19bab1d7ce70d3020150056624bf (diff) | |
download | ruby-028d52bb940d03c120bf274748f52794d001af47.tar.gz |
[ruby/date] Numeric already includes Comparable
https://github.com/ruby/date/commit/f6140df0ad
Diffstat (limited to 'ext/date/lib/date.rb')
-rw-r--r-- | ext/date/lib/date.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |