Ruby/Development/Command line
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
Read text from the command line, assigns that text to the predefined variable $_
print "Please enter the temperature: " gets chomp puts "The temperature is #{$_}."