Ruby/Range/min
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
The min Function gives the lowest number in the range:
range1 = 1..100 puts range1.min # The output of this code is 1.
Личные инструменты |
ПросмотрыRuby/Range/minМатериал из Wiki.crossplatform.ruВерсия от 17:10, 26 мая 2010; (Обсуждение)
The min Function gives the lowest number in the range:range1 = 1..100 puts range1.min # The output of this code is 1. |