Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions core/complex.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,6 @@ class Complex < Numeric

def divmod: (Numeric) -> bot

def eql?: (untyped) -> bool

# <!--
# rdoc-file=complex.c
# - fdiv(numeric) -> new_complex
Expand Down
2 changes: 0 additions & 2 deletions core/integer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,6 @@ class Integer < Numeric
def downto: (Numeric limit) { (Integer) -> void } -> Integer
| (Numeric limit) -> ::Enumerator[Integer, self]

def eql?: (untyped) -> bool

# <!--
# rdoc-file=numeric.rb
# - even? -> true or false
Expand Down
2 changes: 0 additions & 2 deletions core/module.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,6 @@ class Module < Object
#
def deprecate_constant: (*interned) -> self

def eql?: (untyped other) -> bool

def equal?: (untyped other) -> bool

# <!--
Expand Down
2 changes: 0 additions & 2 deletions core/rational.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ class Rational < Numeric
def divmod: (Integer | Float | Rational) -> [ Integer, Rational ]
| (Numeric) -> [ Numeric, Numeric ]

def eql?: (untyped) -> bool

# <!--
# rdoc-file=rational.c
# - rat.fdiv(numeric) -> float
Expand Down
5 changes: 0 additions & 5 deletions test/stdlib/Integer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,6 @@ def test_down_to
30.downto(4.2)
end

def test_eql?
1.eql?("")
3.eql?(1.0)
end

def test_even?
30.even?
end
Expand Down
Loading