ruby - Why 2 strings with the same value can be not equal -


i'm trying fix bug in third party application (vagrant). have 2 variables , reason not equal. i've checked , both strings , both have same value. can reason?

debug string:

"'" + vagrant::version + "', '" + windows_version + "', " + vagrant::version.class.name + ", " + windows_version.class.name + ", " + (windows_version == vagrant::version ? "true" : "false") 

output:

'1.9.6', '1.9.6', string, string, false 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -