core/float.rbs in rbs-3.5.0.pre.2 vs core/float.rbs in rbs-3.5.0
- old
+ new
@@ -440,10 +440,11 @@
# -12.0.divmod(-4) # => [3, -0.0]
#
# 13.0.divmod(4.0) # => [3, 1.0]
# 13.0.divmod(Rational(4, 1)) # => [3, 1.0]
#
- def divmod: (Numeric) -> [ Numeric, Numeric ]
+ def divmod: (Integer | Float | Rational) -> [ Integer, Float ]
+ | (Numeric) -> [ Numeric, Numeric ]
def dup: () -> self
# <!--
# rdoc-file=numeric.c