Skip to content

Instantly share code, notes, and snippets.

@develop7
Created March 28, 2013 18:45
Show Gist options
  • Save develop7/5265759 to your computer and use it in GitHub Desktop.
Save develop7/5265759 to your computer and use it in GitHub Desktop.
How can this be??
#(rdb:1) p @hash
{"one"=>true, "checked value"=>true, "two"=>true}
#(rdb:1) p other.instance_variable_get(:@hash)
{"one"=>true, "checked value"=>true, "two"=>true}
#(rdb:1) p @hash == other.instance_variable_get(:@hash)
false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment