method
matches?

RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::BeInstanceOf
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
matches?(actual)
public
Hide source
# File lib/spec/matchers/be_instance_of.rb, line 8 def matches?(actual) @actual = actual @actual.instance_of?(@expected) end