class RSpec::Matchers::BuiltIn::StartOrEndWith

def description

Returns:
  • (String) -

Other tags:
    Api: - private
def description
  return super unless Hash === expected
  english_name = EnglishPhrasing.split_words(self.class.matcher_name)
  description_of_expected = surface_descriptions_in(expected).inspect
  "#{english_name} #{description_of_expected}"
end