how to get memory address
- by levirg
hey Folks,
Is there any way in ruby to get the memory address of objects..
say..
(i = 5) is that possible to get the mem address of that object 5..
'object_id_' is not that satisfying..
I just wanted to know how referencing to objects work on ruby, so i thought address will be useful, to get things done
plugin memprof doesnt work on x_32bit, so is there any better way pls help me...,
Any answer would be really appreciated...
thanks,
Regards levirg