Jens Wille
9/30/2008 10:48:00 AM
hi trans!
Trans [2008-09-30 05:28]:
> It's only worth it for things like debugging.
sure, but i thought it might work, so i tried. that's all ;-)
maybe using the method_added hook in conjunction with define_method
and the notorious alias_method chain works out better...
> It's way to slow to be generally useful.
i'm not so much concerned with speed at the moment, i'd rather want
it to work somehow. besides, we don't love ruby for her speed, do
we? ;-)
> You can look at Facets' tracepoint.rb library, to see another
> variation on a set_trace_func wrapper.
looks nice!
cheers
jens