method

matches?

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::BeInstanceOf
matches?(actual) public

No documentation

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

Hide source
# File lib/spec/matchers/be_instance_of.rb, line 8
      def matches?(actual)
        @actual = actual
        @actual.instance_of?(@expected)
      end
Register or log in to add new notes.