# File lib/rspec/matchers/built_in/be_instance_of.rb, line 7 def matches?(actual) super(actual).instance_of?(expected) end