Posts tagged gets
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
.
JJ Gangi
Use Readline.readline()
. That’s what irb
uses for user input.
Don’t use gets.chomp
.