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

casecmp?

        # String.casecmp?

(from ruby core)
---
    casecmp?(other_string) -> true, false, or nil

---

Returns `true` if `self` and `other_string` are equal after Unicode case
folding, otherwise `false`:

    'foo'.casecmp?('foo') # => true
    'foo'.casecmp?('food') # => false
    'food'.casecmp?('foo') # => false
    'FOO'.casecmp?('foo') # => true
    'foo'.casecmp?('FOO') # => true

Returns `nil` if the two values are incomparable:

    '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.