Permalink
Browse files

fix typo in String#first

  • Loading branch information...
1 parent 84784b4 commit 074359dfa8d9e16058de4bd6375b2438fef3de83 Francesco Rodriguez committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/string/access.rb
@@ -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"

0 comments on commit 074359d

Please sign in to comment.