rng.min â obj
rng.min {| a,b | block } â obj
rng.min {| a,b | block } â obj
Instance Public methods
Returns the minimum value in the range. Returns nil
if the
begin value of the range is larger than the end value.
Can be given an optional block to override the default comparison method
a <=> b
.
(10..20).min #=> 10
Please login to continue.