Ruby Tip #1: Demystifying the Difference Between == and eql?
Newcomers to Ruby are often confused by the fact the Object class defines three methods related to equality - ==, eql? and equal?. Of the three the one that it’s easiest to describe is equal? - it ...