From: "Marcel Molina Jr." Date: 2006-11-09T04:02:52+09:00 Subject: Re: Proc as Observer 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. marcel -- Marcel Molina Jr.