How to access the address of a variable in Ruby

1 Answer

0 votes
# You can't access the address of a variable in Ruby. 
# However, you can get the actual pointer value of an object using object_id.

 



answered Nov 4, 2022 by avibootz

Related questions

1 answer 248 views
1 answer 183 views
1 answer 248 views
1 answer 226 views
226 views asked Dec 20, 2020 by avibootz
2 answers 229 views
229 views asked Dec 19, 2020 by avibootz
1 answer 163 views
...