This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# String.casecmp (from ruby core) --- casecmp(other_string) -> -1, 0, 1, or nil --- Compares `self.downcase` and `other_string.downcase`; returns: * -1 if `other_string.downcase` is larger. * 0 if the two are equal. * 1 if `other_string.downcase` is smaller. * `nil` if the two are incomparable. Examples: 'foo'.casecmp('foo') # => 0 'foo'.casecmp('food') # => -1 'food'.casecmp('foo') # => 1 'FOO'.casecmp('foo') # => 0 'foo'.casecmp('FOO') # => 0 'foo'.casecmp(1) # => nil See [Case Mapping](doc/case_mapping_rdoc.html). Related: String#casecmp?.
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.