I always do this to test string equality in Ruby:
if mystring.eql?(yourstring) puts \"same\" else puts \"different\" end
Is this is the corre
According to http://www.techotopia.com/index.php/Ruby_String_Concatenation_and_Comparison
Doing either
mystring == yourstring
or
mystring.eql? yourstring
Are equivalent.