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

<=>

        # String.<=>

(from ruby core)
---
    string <=> other_string -> -1, 0, 1, or nil

---

Compares `self` and `other_string`, returning:

*   -1 if `other_string` is larger.
*   0 if the two are equal.
*   1 if `other_string` is smaller.
*   `nil` if the two are incomparable.


Examples:

    'foo' <=> 'foo' # => 0
    'foo' <=> 'food' # => -1
    'food' <=> 'foo' # => 1
    'FOO' <=> 'foo' # => -1
    'foo' <=> 'FOO' # => 1
    'foo' <=> 1 # => nil



      

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.