core/numeric.rbs in rbs-1.1.1 vs core/numeric.rbs in rbs-1.2.0
- old
+ new
@@ -80,12 +80,22 @@
#
# See Numeric#divmod.
#
def %: (Numeric) -> Numeric
+ # Performs addition: the class of the resulting object depends on the class of
+ # `numeric`.
+ #
+ def +: (Numeric) -> Numeric
+
# Unary Plus---Returns the receiver.
#
def +@: () -> Numeric
+
+ # Performs subtraction: the class of the resulting object depends on the class
+ # of `numeric`.
+ #
+ def -: (Numeric) -> Numeric
# Unary Minus---Returns the receiver, negated.
#
def -@: () -> Numeric