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

capitalize

        # String.capitalize

(from ruby core)
---
    capitalize(*options) -> string

---

Returns a string containing the characters in `self`; the first
character is upcased; the remaining characters are downcased:

    s = 'hello World!' # => "hello World!"
    s.capitalize       # => "Hello world!"

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

Related: String#capitalize!.



      

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.