提交 262af66d 编写于 作者: N Norman Clarke

Document method definition

上级 b81bef53
......@@ -80,6 +80,8 @@ def split(*args)
@wrapped_string.split(*args).map { |i| i.mb_chars }
end
# Works like like <tt>String#slice!</tt>, but returns an instance of Chars, or nil if the string was not
# modified.
def slice!(*args)
chars(@wrapped_string.slice!(*args))
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册