On 11/8/06, Marcel Molina Jr. <marcel / vernix.org> wrote: > On Thu, Nov 09, 2006 at 03:55:13AM +0900, Trans wrote: > > > my_observable_object.add_observer(method) > > > > > > That's it! Just a handy little tip for anyone working with Observable objects. > > > > Given your approach I think I'd just go ahead and do: > > > > class Proc > > alias :update :call > > end > > In 1.9 the method signature of add_observer is: > > def add_observer(observer, func=:update) > > In your case, the second argument could be :call. > Good to know. Thanks for the tip. TwP