Flowdock
eql?(p1) public

Returns true only if obj is a Float with the same value as float. Contrast this with Float#==, which performs type conversions.

1.0.eql?(1)   #=> false

The result of NaN.eql?(NaN) is undefined, so an implementation-dependent value is returned.

Show source
Register or log in to add new notes.