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) -> string

---

Returns a string containing the characters in `self`, with cases
reversed; each uppercase character is downcased; each lowercase
character is upcased:

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

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.