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) -> self or nil

---

Upcases the first character in `self`; downcases the remaining
characters; returns `self` if any changes were made, `nil` otherwise:

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

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.