method

===

Importance_1
v2_6_3 - Show latest stable - 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.