This is a ruby C extension that defines a global method named current_iseq
.
It returns the instruction sequence of the context it was called from.
I couldn't find any other way to get a reference to the method being called
from within the method itself. The closest you can get is probably __callee__
which just gives you the name of the method. There's no guarantee that
getting a method object using something like method(__callee__)
will actually
give you the method it's being called from.