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

eql?

        # Numeric.eql?

(from ruby core)
---
    eql?(other) -> true or false

---

Returns `true` if `self` and `other` are the same type and have equal
values.

Of the Core and Standard Library classes, only Integer, Rational, and
Complex use this implementation.

Examples:

    1.eql?(1)              # => true
    1.eql?(1.0)            # => false
    1.eql?(Rational(1, 1)) # => false
    1.eql?(Complex(1, 0))  # => false

Method `eql?` is different from +==+ in that `eql?` requires matching
types, while +==+ does not.



      

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.