diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-11 12:24:45 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-11 12:24:45 -0500 |
commit | 074359dfa8d9e16058de4bd6375b2438fef3de83 (patch) | |
tree | 33dfe55ee9a23cc6c30f4a8da2b284ffc963c275 | |
parent | 84784b4f234c0f21096202309805c3c304901baa (diff) | |
download | rails-074359dfa8d9e16058de4bd6375b2438fef3de83.tar.gz rails-074359dfa8d9e16058de4bd6375b2438fef3de83.tar.bz2 rails-074359dfa8d9e16058de4bd6375b2438fef3de83.zip |
fix typo in String#first
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class String # 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" |