diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-11 02:56:23 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-11 02:56:23 +0000 |
commit | 6006fb3c17510fe39bff5e3b6026ba50ecfefd19 (patch) | |
tree | 9529691b83ec365b40763d682f5c81d081b1d744 /string.c | |
parent | 1a916f8f79de363340517159e7d94b131a3a8bbd (diff) | |
download | ruby-6006fb3c17510fe39bff5e3b6026ba50ecfefd19.tar.gz |
* string.c: Fix documentation for String#slice
[ruby-core:70298][Bug #11427]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3788,7 +3788,7 @@ rb_str_aref(VALUE str, VALUE indx) * Element Reference --- If passed a single +index+, returns a substring of * one character at that index. If passed a +start+ index and a +length+, * returns a substring containing +length+ characters starting at the - * +index+. If passed a +range+, its beginning and end are interpreted as + * +start+ index. If passed a +range+, its beginning and end are interpreted as * offsets delimiting the substring to be returned. * * In these three cases, if an index is negative, it is counted from the end |