From: Joshua Chia Date: 2007-08-04T03:19:45+09:00 Subject: Re: Running multiple closures per iteration Joel VanderWerf wrote: > Did you mean > > o = a.select {|x| x >= 0} > p = o.inject(0) {|s, x| s += x} > ^^^ > ? > No, I meant to compute two different things from a. -- Posted via http://www.ruby-forum.com/.