method
matches?
1.2.0 -
Show latest stable
- Class:
Spec::Matchers::BeInstanceOf
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