diff options
Diffstat (limited to 'activesupport/lib')
-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 2ebfd48818..5c32a2453d 100644 --- a/activesupport/lib/active_support/core_ext/string/access.rb +++ b/activesupport/lib/active_support/core_ext/string/access.rb @@ -90,7 +90,7 @@ class String # # str = "hello" # str.last #=> "o" - # str.last(1) #=> "h" + # str.last(1) #=> "o" # str.last(2) #=> "lo" # str.last(0) #=> "" # str.last(6) #=> "hello" |