Hi,

Where am I going wrong?

st='x'
#st=gets
if st=='x'
  puts 'it's x'
else
  puts 'not x'
end

as written it prints "it's x" as expected but if I take away the # and
execute the st=gets line it's never x.

Thanks,
John