mruby-string-ext: remove remaining String#insert comment

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-06-27 17:02:33 +09:00
parent e6fa544b67
commit 26b53f353e
-17
View File
@@ -1,22 +1,5 @@
class String
##
# call-seq:
# str.insert(index, other_str) -> str
#
# Inserts <i>other_str</i> before the character at the given
# <i>index</i>, modifying <i>str</i>. Negative indices count from the
# end of the string, and insert <em>after</em> the given character.
# The intent is insert <i>aString</i> so that it starts at the given
# <i>index</i>.
#
# "abcd".insert(0, 'X') #=> "Xabcd"
# "abcd".insert(3, 'X') #=> "abcXd"
# "abcd".insert(4, 'X') #=> "abcdX"
# "abcd".insert(-3, 'X') #=> "abXcd"
# "abcd".insert(-1, 'X') #=> "abcdX"
#
##
# Call the given block for each character of
# +self+.