| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
convert to Array. [ruby-dev:37797]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
array first. [ruby-core:21442]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
Add a test for Enumerable#each_with_object.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
array.c (rb_ary_count): If no argument or block is given, count
the number of all elements.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
|
| |
[ruby-dev:34313].
* array.c (rb_ary_index): Define find_index as an alias to index.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test/ruby/test_enum.rb: ditto.
* test/ruby/test_integer.rb: add tests to achieve over 90% test coverage of
numeric.c.
* test/ruby/test_float.rb: ditto.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/test_numeric.rb: ditto.
* test/ruby/test_pack.rb: add tests to achieve over 90% test coverage of
pack.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
coverage of enumerator.c.
* test/ruby/test_enum.rb: add for enum.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|