Skip to content

Commit

Permalink
Merge pull request mikel#236 from DoktahWorm/master
Browse files Browse the repository at this point in the history
Arguments need parentheses
  • Loading branch information
mikel committed May 23, 2011
2 parents ebebdd4 + 3deb692 commit 2c63462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mail/multibyte/chars.rb
Expand Up @@ -339,15 +339,15 @@ def limit(limit)
# Example:
# 'Laurent, où sont les tests ?'.mb_chars.upcase.to_s # => "LAURENT, OÙ SONT LES TESTS ?"
def upcase
chars(Unicode.apply_mapping @wrapped_string, :uppercase_mapping)
chars(Unicode.apply_mapping(@wrapped_string), :uppercase_mapping)
end

# Convert characters in the string to lowercase.
#
# Example:
# 'VĚDA A VÝZKUM'.mb_chars.downcase.to_s # => "věda a výzkum"
def downcase
chars(Unicode.apply_mapping @wrapped_string, :lowercase_mapping)
chars(Unicode.apply_mapping(@wrapped_string), :lowercase_mapping)
end

# Converts the first character to uppercase and the remainder to lowercase.
Expand Down

0 comments on commit 2c63462

Please sign in to comment.