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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -