= private = protected
hash()
Returns a hash code for the complex number.
# File lib/complex.rb, line 386 def hash @real.hash ^ @image.hash end