diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-12-02 21:43:29 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-12-06 17:59:50 -0800 |
| commit | fb80f84fc7aac043db63e27948a54ce94fcf0da3 (patch) | |
| tree | fd94a98098d4f134d9a23682b3a363b2f6f49e9a | |
| parent | 33837abb81510d25088375bbfd74baba16ea2ed1 (diff) | |
[DOC] Fix formatting in docs for String#[]=
| -rw-r--r-- | doc/string/aset.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/string/aset.rdoc b/doc/string/aset.rdoc index e06680d16c..cac3b67ef5 100644 --- a/doc/string/aset.rdoc +++ b/doc/string/aset.rdoc @@ -42,7 +42,7 @@ searches for a substring of size +length+ characters (as available) beginning at character offset specified by +start+. If argument +start+ is non-negative, -the offset is +start': +the offset is +start+: s = 'hello' s[0, 1] = 'foo' # => "foo" |
