diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-18 16:10:46 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-18 16:10:46 +0000 |
| commit | 7b83666d22a852c8ee4cf82a8d21404d8f90782e (patch) | |
| tree | bc5a361fa5cdb05f18843e053148f97d8367289a /array.c | |
| parent | 80e12da0d7f9e53c8d3bc8063630135f15c92a4a (diff) | |
| download | ruby-7b83666d22a852c8ee4cf82a8d21404d8f90782e.tar.gz ruby-7b83666d22a852c8ee4cf82a8d21404d8f90782e.tar.xz ruby-7b83666d22a852c8ee4cf82a8d21404d8f90782e.zip | |
* enum.c (enum_inject): it is now can work without block. you
have to specify two argument method name as the first argument.
* enum.c (Init_Enumerable): reduce is new alias to inject.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions
