From: Ralph Shnelvar Date: 2010-08-23T22:52:11+09:00 Subject: === is not a symmetric operator? ------------41126222ED2BDF6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Is my understanding correct that === is not a symmetric operator? That, in fact, X === x and x === X mean different things? - - - - - irb(main):001:0> class X irb(main):002:1> end => nil irb(main):003:0> x = X.new => # irb(main):004:0> x === X => false # this is surprising irb(main):005:0> X === x => true # this is the test I want ... but was surprised when # x === X didn't work. irb(main):006:0> - - - - - Does x === X ever mean anything useful? ------------41126222ED2BDF6--