On 7/5/06, Sean O’Halpin [email protected] wrote:
I don’t want to have to keep typing out
Redefining the method should work (as long as I pass all args along to
the fully-qualified call). Thank you. Hadn’t thought of that.
But it turns out that, unfortunately, I’m more confused now than
before… The module in question is an extension module (written in
C). I’d thought that it was just a pile of module methods (like
“foo” is in the above example). But, for some reason, if I do:
it actually works.
The calls in the extension module code are set up using
It doesn’t look like there are any instance methods in this module:
(Hm… Why no Module.module_methods method?)
Yet, still, inexplicably, I’m able to “include LongModuleName” and
then just call the methods without prefixing them with the modules’s
Maybe this has turned into the subject of another post.