class RSpec::Matchers::BeAnInstanceOf

Public Instance Methods

matches?(actual) click to toggle source
# File lib/rspec/matchers/be_instance_of.rb, line 6
def matches?(actual)
  super(actual).instance_of?(expected)
end