R
Ross Bamford
Hi,
I think I must have missed something obvious, but I can't see how to
alias a singleton method from a C extension. I think I can grab the
singleton class, then pass that to rb_alias, but is that the right /
best way to do it? Is there a define_singleton_alias somewhere that I've
failed to spot?
Any help would be much appreciated.
Thanks,
I think I must have missed something obvious, but I can't see how to
alias a singleton method from a C extension. I think I can grab the
singleton class, then pass that to rb_alias, but is that the right /
best way to do it? Is there a define_singleton_alias somewhere that I've
failed to spot?
Any help would be much appreciated.
Thanks,