From 074359dfa8d9e16058de4bd6375b2438fef3de83 Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Fri, 11 May 2012 12:24:45 -0500 Subject: [PATCH] fix typo in String#first --- activesupport/lib/active_support/core_ext/string/access.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/string/access.rb b/activesupport/lib/active_support/core_ext/string/access.rb index 43024fb012..9bb0c597b2 100644 --- a/activesupport/lib/active_support/core_ext/string/access.rb +++ b/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" -- GitLab