method
swapcase
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::Multibyte::Chars
swapcase()public
Converts characters in the string to the opposite case.
'El Cañón".mb_chars.swapcase.to_s # => "eL cAÃÃN"
swapcase()Converts characters in the string to the opposite case.
'El Cañón".mb_chars.swapcase.to_s # => "eL cAÃÃN"