From: ara.t.howard@... Date: 2006-08-10T06:22:14+09:00 Subject: Re: application design advice On Thu, 10 Aug 2006, snacktime wrote: >> c = Transaction.new >> ProtocolHandler.setcallback {|args| c.Process) > > Oops, that should be.. > > ProtocolHandler.setcallback {|args| c.Process(args)} > > Which brings up another question. How would I write a similar block > to handle multiple arguments where the number of arguments isn't known > when I call setcallback? > ProtocolHandler.setcallback {|*args| c.Process(*args)} -a -- to foster inner awareness, introspection, and reasoning is more efficient than meditation and prayer. - h.h. the 14th dali lama