diff options
author | Norman Clarke <norman@njclarke.com> | 2012-01-06 12:06:50 -0300 |
---|---|---|
committer | Norman Clarke <norman@njclarke.com> | 2012-01-06 12:06:50 -0300 |
commit | 81f110657b2a59b76926b4b3d89f685420e32a0e (patch) | |
tree | 739c02fe97eb695eec72cf3f6e104c0fc129e4fb /activesupport/lib/active_support/multibyte | |
parent | cac15643cf5c62dddf672bfaf239b42c1e108d19 (diff) | |
download | rails-81f110657b2a59b76926b4b3d89f685420e32a0e.tar.gz rails-81f110657b2a59b76926b4b3d89f685420e32a0e.tar.bz2 rails-81f110657b2a59b76926b4b3d89f685420e32a0e.zip |
Improve doc consistency
Diffstat (limited to 'activesupport/lib/active_support/multibyte')
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb index d69bfefc23..ac61870871 100644 --- a/activesupport/lib/active_support/multibyte/chars.rb +++ b/activesupport/lib/active_support/multibyte/chars.rb @@ -93,7 +93,7 @@ module ActiveSupport #:nodoc: chars(Unicode.unpack_graphemes(@wrapped_string).reverse.flatten.pack('U*')) end - # Limit the byte size of the string to a number of bytes without breaking characters. Usable + # Limits the byte size of the string to a number of bytes without breaking characters. Usable # when the storage for a string is limited for some reason. # # Example: @@ -102,7 +102,7 @@ module ActiveSupport #:nodoc: slice(0...translate_offset(limit)) end - # Convert characters in the string to uppercase. + # Converts characters in the string to uppercase. # # Example: # 'Laurent, où sont les tests ?'.mb_chars.upcase.to_s # => "LAURENT, OÙ SONT LES TESTS ?" @@ -110,7 +110,7 @@ module ActiveSupport #:nodoc: chars Unicode.upcase(@wrapped_string) end - # Convert characters in the string to lowercase. + # Converts characters in the string to lowercase. # # Example: # 'VĚDA A VÝZKUM'.mb_chars.downcase.to_s # => "věda a výzkum" |