mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/date] Numeric already includes Comparable
https://github.com/ruby/date/commit/f6140df0ad
This commit is contained in:
parent
33574d57f1
commit
028d52bb94
1 changed files with 0 additions and 2 deletions
|
@ -11,8 +11,6 @@ class Date
|
|||
|
||||
class Infinity < Numeric # :nodoc:
|
||||
|
||||
include Comparable
|
||||
|
||||
def initialize(d=1) @d = d <=> 0 end
|
||||
|
||||
def d() @d end
|
||||
|
|
Loading…
Add table
Reference in a new issue