hi guys,
can someone explain (verbosely!) the inject method to me, or point me to
some good reference with some good detailed examples? i find it pretty
attractive and am trying to find excuses to use it somewhere as i heard
it is a very powerful tool
thanks in advance
···
--
Posted via http://www.ruby-forum.com/.
http://errtheblog.com/post/633
···
On 9/17/07, Shai Rosenfeld <shaiguitar@gmail.com> wrote:
hi guys,
can someone explain (verbosely!) the inject method to me, or point me to
some good reference with some good detailed examples? i find it pretty
attractive and am trying to find excuses to use it somewhere as i heard
it is a very powerful tool
thanks in advance
--
Posted via http://www.ruby-forum.com/\.
From command prompt if you type
ri Enumerable#inject
will get what you are asking.
Regards
Yusuf Celik
Shai Rosenfeld wrote:
···
hi guys,
can someone explain (verbosely!) the inject method to me, or point me to
some good reference with some good detailed examples? i find it pretty
attractive and am trying to find excuses to use it somewhere as i heard
it is a very powerful tool
thanks in advance
--
Posted via http://www.ruby-forum.com/\.