method
describe_matcher

RSpec latest stable (1.3.1)
-
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