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
Post a Comment