core/kernel.rbs in rbs-3.6.0.dev.1 vs core/kernel.rbs in rbs-3.6.0.pre.1
- old
+ new
@@ -673,11 +673,11 @@
#
def self?.Rational: (int | _ToR rational_like, ?exception: true) -> Rational
| (int | _ToR rational_like, exception: bool) -> Rational?
| (int | _ToR numer, ?int | _ToR denom, ?exception: true) -> Rational
| (int | _ToR numer, ?int | _ToR denom, exception: bool) -> Rational?
- | [T] (Numeric&_RationalDiv[T] numer, Numeric denom, ?exception: bool) -> T
+ | [T] (Numeric & _RationalDiv[T] numer, Numeric denom, ?exception: bool) -> T
| [T < Numeric] (T value, 1, ?exception: bool) -> T
| (untyped, ?untyped, ?exception: bool) -> Rational?
interface _RationalDiv[T]
def /: (Numeric) -> T
@@ -1317,10 +1317,10 @@
# reproducible between different runs of a program.
#
# See also Random.rand.
#
def self?.rand: (?0) -> Float
- | (int arg0) -> (Integer | Float)
+ | (int arg0) -> Integer
| (::Range[Integer] arg0) -> Integer?
| (::Range[Float] arg0) -> Float?
# <!--
# rdoc-file=io.c