How can we use pointer concept in Ruby?

How can we use pointer concept (which we are using in C programming) in
Ruby?

Jaimin P. wrote in post #1144580:

How can we use pointer concept (which we are using in C programming) in
Ruby?

all object are pointer (handle) on an object instance.
and method, class, module, thread… are ruby Object
So writing ruby code is using pointers …

But

  • you can’t use algebra on pointer : no addition/substraction
  • you can’t get the real memory address of an object

So ruby interpreter implementation is free to use his self addressing
mechanism, which can not to be memory pointer (as in JVM/JRuby).