# File lib/Dnsruby/code_mapper.rb, line 140 def ==(other) if other.kind_of?CodeMapper if other.string == @string && other.code == @code return true end elsif other.kind_of?String if other == @string return true end elsif other.kind_of?Fixnum if other == @code return true end end return false end