Flowdock
method

matches?

Importance_0
matches?(given) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/simple_matcher.rb, line 12
      def matches?(given)
        @given = given
        case @match_block.arity
        when 2
          @match_block.call(@given, self)
        else
          @match_block.call(@given)
        end
      end
Register or log in to add new notes.