module RSpec::Matchers::Composable

def description_of(object)

@!visibility public

supporting matcher arguments.
`failure_message_when_negated` implementation if you are
`description`, `failure_message` or
You are encouraged to use this in your custom matcher's

returns `object.inspect`.
a `description` method, returns the description; otherwise
aware of composed matchers. If the object is a matcher with
Returns the description of the given object in a way that is
def description_of(object)
  RSpec::Support::ObjectFormatter.format(object)
end