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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -