core/float.rbs in rbs-1.3.3 vs core/float.rbs in rbs-1.4.0
- old
+ new
@@ -178,10 +178,10 @@
# This is achieved by converting `numeric` to a Float.
#
# 1.2.coerce(3) #=> [3.0, 1.2]
# 2.5.coerce(1.1) #=> [1.1, 2.5]
#
- def coerce: (Numeric) -> [Numeric, Numeric]
+ def coerce: (Numeric) -> [Float, Float]
def conj: () -> Float
def conjugate: () -> Float