method

swapcase

Importance_1
v5.0.0.1 - 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.