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
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