G
Gerardo Santana Gómez Garrido
I'm writing an extension for Ruby, and want to extend an object with
methods from a module. I'm doing it like this:
rb_extend_object(self, rb_mAModuleExtension);
But the methods added to self become private. I want them public. How
should this be done?
Thanks in advance.
methods from a module. I'm doing it like this:
rb_extend_object(self, rb_mAModuleExtension);
But the methods added to self become private. I want them public. How
should this be done?
Thanks in advance.