Complex#==

This works as expected (returns false):
100 == :x
0.0 == :x

But this doesn’t:
require Complex
Complex(0) == :x

NameError: undefined method coerce' for :x:Symbol from /usr/lib/ruby/1.6/complex.rb:230:in==’

This just bit me.

T