method

eql?

v1_9_2_180 - Show latest stable - Class: Float
eql?(p1)
public

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

1.0.eql?(1)   #=> false