From: Michal Date: 2006-06-07T14:58:49+09:00 Subject: Console input I'd ask you why the following code doesn't works: -- data = gets data.chomp if data == "a" puts "True" else puts "False" end -- It's always false. (ruby 1.8.4 in WinXP console) Thanks for your answers. -- Posted via http://www.ruby-forum.com/.