summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 21:37:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 21:37:28 +0000
commit0fbe6b5da14ebc86846eae596ef0271ff777c2d7 (patch)
treea8e2ce3a39ffb4a8f7d2787a301cd97d0565ff3c /array.c
parent161ed7c0dcc5afbd10a3bffb49f20ae294e35d31 (diff)
* 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
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/array.c b/array.c
index 741887bcba..ca9cc448a0 100644
--- a/array.c
+++ b/array.c
@@ -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"