Permalink
Browse files

Merge pull request #236 from DoktahWorm/master

Arguments need parentheses
  • Loading branch information...
mikel committed May 23, 2011
2 parents ebebdd4 + 3deb692 commit 2c634629df617a259b4db3fd1a32afd7032f4c89
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mail/multibyte/chars.rb
@@ -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.

0 comments on commit 2c63462

Please sign in to comment.