Flowdock
==(other) public

Returns true iff this value is numerically equal to other.

But beware:

  Rational(1,2) == Rational(4,8)          # -> true
  Rational(1,2) == Rational.new!(4,8)     # -> false

Don’t use Rational.new!

Show source
Register or log in to add new notes.