Gets.chop


#1

what does the gets.chop do?


#2

It's not gets.chop, it's gets.chomp.


#3

"gets" lets the user input a line and returns it as a value
to your program. This value includes the trailing line break. If you
then call "chomp" on that value, this line break is cut off.


#4

great!
i think i get it now
thanx!