From: Yusuke Endoh Date: 2010-03-18T23:32:56+09:00 Subject: [ruby-core:28753] [Feature #2321](Rejected) [PATCH] Array Module sum and mean features Issue #2321 has been updated by Yusuke Endoh. Status changed from Open to Rejected Hi, > I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds the mean of the elements in the the array using the sum function. Attached is a patch to implement these features. This suggestion was discussed on the thread from [ruby-core:26463], and was rejected by matz [ruby-core:26481]. So I close this ticket. -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2321 ---------------------------------------- http://redmine.ruby-lang.org