Joined October 2013
·

John Leach

Bradford, UK
·
·

Posted to The rarely used === in Ruby over 1 year ago

Class objects implement === as "is_a?". Which is kind of neat for case statements, but also has a couple of gotchas:

http://johnleach.co.uk/words/402/rubys-case-statement-uses

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills