Skip to content
Browse files

Fix Japanese spelling in AS::Multibyte::Chars#slice documentation.

  • Loading branch information...
1 parent e6d5fc1 commit b3e812393e8591509425a3d0259e117d5c8ed32b @oggy oggy committed Oct 21, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/multibyte/chars.rb
View
4 activesupport/lib/active_support/multibyte/chars.rb
@@ -321,7 +321,7 @@ def reverse
# character.
#
# Example:
- # 'こにちわ'.mb_chars.slice(2..3).to_s #=> "ちわ"
+ # 'こんにちは'.mb_chars.slice(2..3).to_s #=> "にち"
def slice(*args)
if args.size > 2
raise ArgumentError, "wrong number of arguments (#{args.size} for 1)" # Do as if we were native
@@ -676,4 +676,4 @@ def chars(string) #:nodoc:
end
end
end
-end
+end

0 comments on commit b3e8123

Please sign in to comment.
Something went wrong with that request. Please try again.