aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte/handlers
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
commit94502623fb8354ba0c88b9d1bc94bf940e0d5018 (patch)
tree3feef6b8342bac8a8f8ef3db5f051e536bce8a4f /activesupport/lib/active_support/multibyte/handlers
parent19d4c212cd35be37d67eb20bb4152356df96681b (diff)
downloadrails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.gz
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.bz2
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.zip
Standardize on using hyphens rather than colons to separate option names from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/multibyte/handlers')
-rw-r--r--activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb b/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb
index 2e7e9fac3f..66fe47a604 100644
--- a/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb
+++ b/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb
@@ -283,8 +283,8 @@ module ActiveSupport::Multibyte::Handlers #:nodoc:
# Returns the KC normalization of the string by default. NFKC is considered the best normalization form for
# passing strings to databases and validations.
#
- # * <tt>str</tt>: The string to perform normalization on.
- # * <tt>form</tt>: The form you want to normalize in. Should be one of the following: :c, :kc, :d or :kd.
+ # * <tt>str</tt> - The string to perform normalization on.
+ # * <tt>form</tt> - The form you want to normalize in. Should be one of the following: :c, :kc, :d or :kd.
def normalize(str, form=ActiveSupport::Multibyte::DEFAULT_NORMALIZATION_FORM)
# See http://www.unicode.org/reports/tr15, Table 1
codepoints = u_unpack(str)