Module: ShouldaMatchmakers::Model::ActiveRecord::Matchmaker::DelegateMethod

Included in:
ActiveRecordModelSmModel
Defined in:
lib/model/active_record/matchmakers/delegate_method.rb

Instance Method Summary collapse

Instance Method Details

#delegate_method_matcher_testsObject



8
9
10
11
12
13
14
15
# File 'lib/model/active_record/matchmakers/delegate_method.rb', line 8

def delegate_method_matcher_tests
  delegate_method_occurrences = get_delegate_method_occurrences(@app_class_name)
  if delegate_method_occurrences.present?
    generate_delegate_method_matcher_tests(delegate_method_occurrences)
  else
    []
  end
end