method

swapcase

Importance_1
v4.1.8 - Show latest stable - 0 notes - 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"
Show source
Register or log in to add new notes.