Coming from JavaScript to Ruby, I was excited to learn the language that promised to be "friendly to developers" and "designed for developer happ...
For further actions, you may consider blocking this person and/or reporting abuse
It's not really a memory location. It's just an object id. Yes it's useful to see if two objects are really the same exact object, which is kind of similar to a memory location, but for example, there is a object id of 1.
ObjectSpace._id2ref(1).object_id
=> 1
That's hardly a memory location. :)
ObjectSpace can do some interesting things, none of which should probably be used in normal programming.
We can. Use
Can't see what you wrote :(
And there is more 😃