Unless there is already some way to do it that I've overlooked, the it would be nice if there were still some way to extend an instance of BasicObject.
Probably the easiest way is defining #extend.
#4 Updated by trans (Thomas Sawyer) over 5 years ago
Ah, right I forgot about this... what do you call it? The "callback"?
It needs to be:
but it worked.
@matz thanks that will work too --although with a little more meta-programming if the module was in a variable.
Thanks. Sorry for the noise. Should have put the question on ruby-talk instead... but there so little communication actually going on there these days.