On Thu, 9 Nov 2006, Trans wrote:

> I think that's over zealous about avoidance of core extension. This is an
> excellent example of when a core extension is useful. Use of a module and/or
> singleton here adds an additional layer of class hierarchy that is simply
> unnecessary. There's nothing wrong with adding #update to Proc in this case.
> I'm not sure why this general perception of core extension as "hack" has
> gained so much footing. It's really unfortunate since open classes are one
> the most unique and powerful features of Ruby.

i'm sure not saying it's a bad idea, but i do avoid it when it's not needed
and, here, it doesn't seem to be since the &b arg of add_observer is not
currently used.

regards.

-a
-- 
my religion is very simple.  my religion is kindness. -- the dalai lama