method
swapcase
v5.0.0.1 -
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"