Subject: [ruby-talk:01046] Equivalent of 'inject'
From: Dave Thomas <Dave thomases.com>
Date: 03 Jan 2000 21:06:16 -0600
Now I know I'm being stupid, but I can't see a Ruby equivalent of
operations such as Smalltalk's 'inject'. What's the clean way of (say)
summing the elements in an array?
Regards
Dave