use input function in ruby code example Example: how to request user input in ruby puts "Hello! My name is Kyle, what's yours?" name = gets