You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Replaces some or all of the content of +self+ with +str+, and returns +self+.
1320
-
* The portion of the string affected is determined using
1321
-
* the same criteria as String#byteslice, except that +length+ cannot be omitted.
1322
-
* If the replacement string is not the same length as the text it is replacing,
1323
-
* the string will be adjusted accordingly.
1324
-
*
1325
-
* If +str_index+ and +str_length+, or +str_range+ are given, the content of +self+ is replaced by str.byteslice(str_index, str_length) or str.byteslice(str_range); however the substring of +str+ is not allocated as a new string.
1326
-
*
1327
-
* The form that take an Integer will raise an IndexError if the value is out
1328
-
* of range; the Range form will raise a RangeError.
1329
-
* If the beginning or ending offset does not land on character (codepoint)
* Replaces some or all of the content of +self+ with +str+, and returns +self+.
2988
+
* The portion of the string affected is determined using
2989
+
* the same criteria as String#byteslice, except that +length+ cannot be omitted.
2990
+
* If the replacement string is not the same length as the text it is replacing,
2991
+
* the string will be adjusted accordingly.
2992
+
*
2993
+
* If +str_index+ and +str_length+, or +str_range+ are given, the content of +self+ is replaced by str.byteslice(str_index, str_length) or str.byteslice(str_range); however the substring of +str+ is not allocated as a new string.
2994
+
*
2995
+
* The form that take an Integer will raise an IndexError if the value is out
2996
+
* of range; the Range form will raise a RangeError.
2997
+
* If the beginning or ending offset does not land on character (codepoint)
0 commit comments