method

swapcase!

v1_8_7_330 - Show latest stable - Class: String
swapcase!()
public

Equivalent to String#swapcase, but modifies the receiver in place, returning str, or nil if no changes were made.