summaryrefslogtreecommitdiffstats
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
commit08349f2ec96225f5d91f2a4d0d8ca5e19d9e2ccc (patch)
treea8e2ce3a39ffb4a8f7d2787a301cd97d0565ff3c /array.c
parentdc57454f8800121dab73a5ec99797be7fc755ddf (diff)
downloadruby-08349f2ec96225f5d91f2a4d0d8ca5e19d9e2ccc.tar.gz
ruby-08349f2ec96225f5d91f2a4d0d8ca5e19d9e2ccc.tar.xz
ruby-08349f2ec96225f5d91f2a4d0d8ca5e19d9e2ccc.zip
* 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: http://svn.ruby-lang.org/repos/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 741887bcb..ca9cc448a 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"