Use STDIN.gets (IO#gets) instead of gets (Kernel#gets)
Use STDIN.gets (IO#gets) instead of gets (Kernel#gets)

http://stackoverflow.com/questions/10523536/whats-the-difference-between-gets-chomp-vs-stdin-gets-chomp

glidenote/pori