method

matches?

rspec latest stable - Class: Spec::Matchers::BeInstanceOf

Method deprecated or moved

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

matches?(actual)
public

No documentation available.

# File lib/spec/matchers/be_instance_of.rb, line 8
      def matches?(actual)
        @actual = actual
        @actual.instance_of?(@expected)
      end