Created
October 10, 2018 20:04
-
-
Save Marahin/9128d81a1179293af515748da4ec20f2 to your computer and use it in GitHub Desktop.
This file contains 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
[1] pry(main)> A = [1] | |
=> [1] | |
[2] pry(main)> A.object_id | |
=> 70348956801400 | |
[3] pry(main)> A << 2 | |
=> [1, 2] | |
[4] pry(main)> A | |
=> [1, 2] | |
[5] pry(main)> A.object_id | |
=> 70348956801400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment