method

matches?

rspec latest stable - Class: Spec::Mocks::BooleanArgConstraint

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

matches?(value)
public

No documentation available.

# File lib/spec/mocks/argument_expectation.rb, line 82
      def matches?(value)
        return true if value.is_a?(TrueClass)
        return true if value.is_a?(FalseClass)
        false
      end