fix typo in String#first
This commit is contained in:
parent
84784b4f23
commit
074359dfa8
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user