diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-13 14:32:46 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-13 14:32:46 +0000 |
| commit | f701bce547aed08f3490b45eba7faa6c86a03a6d (patch) | |
| tree | 69aeb0eb0b52c201b5f11e21404739a6b4e19189 /test/ruby | |
| parent | 2e4adbea371e0b40396cd4d8de343307c041240b (diff) | |
| download | ruby-f701bce547aed08f3490b45eba7faa6c86a03a6d.tar.gz ruby-f701bce547aed08f3490b45eba7faa6c86a03a6d.tar.xz ruby-f701bce547aed08f3490b45eba7faa6c86a03a6d.zip | |
* enum.c (enum_yield): use rb_yield_values2.
* enum.c (DEFINE_ENUMFUNCS): macro to define enumerator and yielding
functions.
* enum.c (enum_all_func, enum_any_func, enum_one_func,
enum_none_func): reduced duplicate code.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
