This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

swapcase!

        # String.swapcase!

(from ruby core)
---
    swapcase!(*options) -> self or nil

---

Upcases each lowercase character in `self`; downcases uppercase
character; returns `self` if any changes were made, `nil` otherwise:

    s = 'Hello World!' # => "Hello World!"
    s.swapcase!        # => "hELLO wORLD!"
    s                  # => "Hello World!"
    ''.swapcase!       # => nil

The casing may be affected by the given `options`; see [Case
Mapping](doc/case_mapping_rdoc.html).

Related: String#swapcase.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.