method
describe_matcher

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Expectations::MatcherHandlerHelper
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
describe_matcher(matcher)
public
Hide source
# File lib/spec/expectations/handler.rb, line 6 def describe_matcher(matcher) matcher.respond_to?(:description) ? matcher.description : "[#{matcher.class.name} does not provide a description]" end