1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix a typo [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2022-08-27 12:54:42 +09:00
parent d6f21b308b
commit fe4dd18db4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -5437,7 +5437,7 @@ rb_str_aset(VALUE str, VALUE indx, VALUE val)
* string[index] = new_string
* string[start, length] = new_string
* string[range] = new_string
* string[regexp, capture = 0) = new_string
* string[regexp, capture = 0] = new_string
* string[substring] = new_string
*
* Replaces all, some, or none of the contents of +self+; returns +new_string+.