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 243 views
1 answer 179 views
1 answer 245 views
1 answer 223 views
223 views asked Dec 20, 2020 by avibootz
2 answers 227 views
227 views asked Dec 19, 2020 by avibootz
1 answer 161 views
...