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 @@ -221,8 +221,6 @@ class Complex < Numeric
#
def +: (Numeric) -> Complex

def +@: () -> Complex

# <!--
# rdoc-file=complex.c
# - complex - numeric -> new_complex
Expand Down
2 changes: 0 additions & 2 deletions core/float.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ class Float < Numeric
def +: (Complex) -> Complex
| (Numeric) -> Float

def +@: () -> Float

# <!--
# rdoc-file=numeric.c
# - self - other -> numeric
Expand Down
2 changes: 0 additions & 2 deletions core/integer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ class Integer < Numeric
| (Rational) -> Rational
| (Complex) -> Complex

def +@: () -> Integer

# <!--
# rdoc-file=numeric.c
# - self - numeric -> numeric_result
Expand Down
4 changes: 2 additions & 2 deletions core/numeric.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Numeric
# -->
# Returns `self`.
#
def +@: () -> Numeric
def +@: () -> self

# Performs subtraction: the class of the resulting object depends on the class
# of `numeric`.
Expand All @@ -214,7 +214,7 @@ class Numeric
# -->
# Unary Minus---Returns the receiver, negated.
#
def -@: () -> Numeric
def -@: () -> self

# <!--
# rdoc-file=numeric.c
Expand Down
2 changes: 0 additions & 2 deletions core/rational.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ class Rational < Numeric
| (Complex) -> Complex
| (Numeric) -> Rational

def +@: () -> Rational

# <!--
# rdoc-file=rational.c
# - rat - numeric -> numeric
Expand Down