From e3c1b091773bb4d9f4a99234be70a63090c2a824 Mon Sep 17 00:00:00 2001 From: Alexey Lipnyagov Date: Mon, 10 Aug 2015 12:20:27 +0300 Subject: [PATCH] string.c: fixed #slice description --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 9979997..add7b04 100644 --- a/string.c +++ b/string.c @@ -3793,7 +3793,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 -- 2.4.4