From: "Bartosz DziewoƄski" Date: 2012-12-03T08:09:50+09:00 Subject: Re: If statement The value returned by `gets` includes a trailing newline. Use `gets.chomp` or `gets.strip` to remove it. -- Matma Rex