Skip to content

Commit f6140df

Browse files
committed
Numeric already includes Comparable
1 parent f08175e commit f6140df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/date.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ def infinite?
1111

1212
class Infinity < Numeric # :nodoc:
1313

14-
include Comparable
15-
1614
def initialize(d=1) @d = d <=> 0 end
1715

1816
def d() @d end

0 commit comments

Comments
 (0)