class RSpec::Matchers::BuiltIn::Match

def description

Returns:
  • (String) -

Other tags:
    Api: - private
def description
  if @expected_captures && @expected.match(actual)
    "match #{surface_descriptions_in(expected).inspect} with captures #{surface_descriptions_in(@expected_captures).inspect}"
  else
    "match #{surface_descriptions_in(expected).inspect}"
  end
end