Sha256: ebf1c89b23fa39b2b04ddd91825eed6acfe83577ee99c7aff601dd45debc56e9

Contents?: true

Size: 222 Bytes

Versions: 169

Compression:

Stored size: 222 Bytes

Contents

module RSpec
  module Matchers
    module BuiltIn
      class BeAnInstanceOf
        include BaseMatcher

        def matches?(actual)
          super(actual).instance_of?(expected)
        end
      end
    end
  end
end

Version data entries

169 entries across 71 versions & 9 rubygems

Version Path
classiccms-0.3.8 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.6 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.6 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.6 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.5 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.5 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.5 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.4 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.4 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.4 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.3 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.3 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.3 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.2 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.2 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.2 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.3.1 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb