method

==

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Integer
==(p1) public

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

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