Module: RubyHaze::Mixins::Compare

Included in:
DOProxy
Defined in:
lib/rubyhaze/mixins/compare.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



5
6
7
8
# File 'lib/rubyhaze/mixins/compare.rb', line 5

def ==(other)
  return false unless other.class.name == self.class.name
  name == other.name
end