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

===

        # Float.===

(from ruby core)
---
    ===(p1)

---

Returns `true` if `other` has the same value as `self`, `false`
otherwise:

    2.0 == 2              # => true
    2.0 == 2.0            # => true
    2.0 == Rational(2, 1) # => true
    2.0 == Complex(2, 0)  # => true

`Float::NAN == Float::NAN` returns an implementation-dependent value.

Related: Float#eql? (requires `other` to be a Float).


(This method is an alias for Float#==.)

Returns `true` if `other` has the same value as `self`, `false`
otherwise:

    2.0 == 2              # => true
    2.0 == 2.0            # => true
    2.0 == Rational(2, 1) # => true
    2.0 == Complex(2, 0)  # => true

`Float::NAN == Float::NAN` returns an implementation-dependent value.

Related: Float#eql? (requires `other` to be a Float).



      

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.