Ruby/String/upto
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
The upto method from String
"a".upto("z") { |i| print i } # => abcdefghijklmnopqrstuvwxyz
Личные инструменты |
ПросмотрыRuby/String/uptoМатериал из Wiki.crossplatform.ruВерсия от 17:10, 26 мая 2010; (Обсуждение)
The upto method from String"a".upto("z") { |i| print i } # => abcdefghijklmnopqrstuvwxyz |