From: "ara.t.howard" Date: 2008-06-26T08:52:23+09:00 Subject: Re: A cleaner way to pass a block or proc On Jun 25, 2008, at 5:48 PM, Tristin Davis wrote: > def add_notifier(notifier, &block) > if block_given? > @notifiers << block > else > @notifiers << notifier > end > end def add_notifier *argv, &block argv.push block @notifiers.push *argv end a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama