Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 589 Bytes
Developer: Dan Chuparkoff (Twitter: @chuparkoff )
Creation Date: 4/13/2012
Initial Ruby Version: Ruby 1.9.3-p125
Initial Development Environment: Windows 7 Home Premium - SP1
Initial Development IDE: Jetbrains RubyMine 4.0.3
This program was created as an exercise in the RubyLearning PORPC101-32C Course.
This program illustrates some basic use of gets and chomp.
#Variable Initialization
city = ""
puts "In which city do you live?"
city = gets.chomp
puts "The city is " + city
Something went wrong with that request. Please try again.