Flowdock
method

swapcase

Importance_1
Ruby on Rails latest stable (v4.2.1) - 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.