提交 074359df 编写于 作者: F Francesco Rodriguez

fix typo in String#first

上级 84784b4f
......@@ -67,7 +67,7 @@ def to(position)
# Returns the first character of the string. If a limit is supplied,
# returns a substring from the beginning of the string to the given
# limit. If the given limit is greater than or equal to the string
# length, returns it self.
# length, returns self.
#
# str = "hello"
# str.first #=> "h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册