1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c (rb_ary_at): updated documentation. a patch from Tadashi

Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-12-23 21:37:28 +00:00
parent 161ed7c0dc
commit 0fbe6b5da1
2 changed files with 7 additions and 4 deletions

View file

@ -1,10 +1,15 @@
Mon Dec 24 06:36:00 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
Mon Dec 24 05:32:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_inject): updated documentation. a patch from Keita
Yamaguchi <keita.yamaguchi AT gmail.com> in [ruby-dev:32686].
* README.EXT: updated. a patch from Tadashi Saito
<shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
* README.EXT: updated. a patch from Tadashi Saito
<shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
* array.c (rb_ary_at): updated documentation. a patch from Tadashi
Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
Mon Dec 24 05:13:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org>

View file

@ -767,8 +767,6 @@ rb_ary_aref(int argc, VALUE *argv, VALUE ary)
* Returns the element at _index_. A
* negative index counts from the end of _self_. Returns +nil+
* if the index is out of range. See also <code>Array#[]</code>.
* (<code>Array#at</code> is slightly faster than <code>Array#[]</code>,
* as it does not accept ranges and so on.)
*
* a = [ "a", "b", "c", "d", "e" ]
* a.at(0) #=> "a"