diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-18 15:56:34 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-18 15:56:34 +0900 |
| commit | 8459b3988633b7fd260857e7f023fa8ecf6bb472 (patch) | |
| tree | 6c6bd48fb1ed0ff614a69652fb80f083166de511 /src/string.c | |
| parent | eab4a7492f674d859fb497ca6eb025956e6453b7 (diff) | |
| download | mruby-8459b3988633b7fd260857e7f023fa8ecf6bb472.tar.gz mruby-8459b3988633b7fd260857e7f023fa8ecf6bb472.zip | |
update String#slice doc
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c index 8015391b6..6570c89fb 100644 --- a/src/string.c +++ b/src/string.c @@ -813,6 +813,7 @@ num_index: * str[other_str] => new_str or nil * str.slice(fixnum) => fixnum or nil * str.slice(fixnum, fixnum) => new_str or nil + * str.slice(range) => new_str or nil * str.slice(other_str) => new_str or nil * * Element Reference---If passed a single <code>Fixnum</code>, returns the code |
