Method: RSpec::Matchers::BuiltIn::Compound#expected

Defined in:
lib/rspec/matchers/built_in/compound.rb

#expectedRSpec::Matchers::MultiMatcherDiff

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



55
56
57
58
# File 'lib/rspec/matchers/built_in/compound.rb', line 55

def expected
  return nil unless evaluator
  ::RSpec::Matchers::MultiMatcherDiff.for_many_matchers(diffable_matcher_list)
end