Class: Coupler::Models::Matcher

Inherits:
Sequel::Model
  • Object
show all
Includes:
CommonModel
Defined in:
lib/coupler/models/matcher.rb

Instance Method Summary collapse

Methods included from CommonModel

#after_destroy, #before_create, #before_save, #before_update, included, #save!, #touch!

Instance Method Details

#cross_match?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/coupler/models/matcher.rb', line 11

def cross_match?
  comparisons.any? { |c| c.cross_match? }
end