aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorGeorge Ogata <george.ogata@gmail.com>2008-10-21 04:09:07 +1100
committerGeorge Ogata <george.ogata@gmail.com>2008-10-21 04:09:07 +1100
commitb3e812393e8591509425a3d0259e117d5c8ed32b (patch)
treec7c558386edbe839864c4bd35c8dcf29ea24977f /activesupport
parente6d5fc1020fe03190cf1c0337f64f7a6c848b12d (diff)
downloadrails-b3e812393e8591509425a3d0259e117d5c8ed32b.tar.gz
rails-b3e812393e8591509425a3d0259e117d5c8ed32b.tar.bz2
rails-b3e812393e8591509425a3d0259e117d5c8ed32b.zip
Fix Japanese spelling in AS::Multibyte::Chars#slice documentation.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/multibyte/chars.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb
index 5184026c63..be9c6d3567 100644
--- a/activesupport/lib/active_support/multibyte/chars.rb
+++ b/activesupport/lib/active_support/multibyte/chars.rb
@@ -321,7 +321,7 @@ module ActiveSupport #:nodoc:
# 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 @@ module ActiveSupport #:nodoc:
end
end
end
-end \ No newline at end of file
+end