Method: Finitio::Contract#==

Defined in:
lib/finitio/support/contract.rb

#==(other) ⇒ Object Also known as: eql?



36
37
38
39
40
41
42
43
44
# File 'lib/finitio/support/contract.rb', line 36

def ==(other)
  super || (
    other.is_a?(Contract) &&
    name == other.name &&
    infotype == other.infotype &&
    dresser == other.dresser &&
    undresser == other.undresser
  )
end