From: Pistos Christou Date: 2006-05-25T06:06:48+09:00 Subject: Re: rubynuby - confused by method name "inject" A LeDonne wrote: > So, in math-speak, I think one could say: > > inject applies a block pairwise as an n-ary operation over an > Enumerable, with an optional initial value. > > This may or may not help anyone understand it. :) Shockingly [to myself], I actually understand that, but I think it doesn't cover all the possibile uses of inject, some of which are not "operator in-betweenings". But thanks for sharing. Mentally relating product and summation to inject helps me tolerate what I otherwise think is feasibly the most unintuitively-named standard method I've ever encountered. Pistos -- Posted via http://www.ruby-forum.com/.