method

===

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Integer
===(p1) public

Returns true if int equals other numerically. Contrast this with Integer#eql?, which requires other to be an Integer.

1 == 2     #=> false
1 == 1.0   #=> true
Show source
Register or log in to add new notes.