class ActiveSupport::Multibyte::Chars

def swapcase

'El Cañón".mb_chars.swapcase.to_s # => "eL cAÑÓN"

Converts characters in the string to the opposite case.
def swapcase
  chars Unicode.swapcase(@wrapped_string)
end