Last active
December 9, 2015 06:57
-
-
Save SamGerber-zz/a1c9813d2e964e660b0e to your computer and use it in GitHub Desktop.
Does manipulating a string change its value?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@answer = "42" # => "42" | |
@answer.object_id # => 70033493776200 | |
@answer.clear # => "" | |
@answer # => "" | |
@answer.object_id # => 70033493776200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment