Mega Code Archive
Categories
/
Ruby
/
Range
The min Function gives the lowest number in the range
range1 = 1..100 puts range1.min # The output of this code is 1.