Should I use gets.chomp or Readline for user input in Ruby?Use Readline.readline(). That’s what irb uses for user input.Don’t use gets.chomp.Posted on Nov 18, 2014 to gets, readline, ruby