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.6.2 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.2 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.2 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.1 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.1 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.1 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.0 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.0 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.6.0 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.17 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.17 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.17 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.16 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.16 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.16 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.15 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.15 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.15 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.14 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb
classiccms-0.5.14 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/built_in/be_instance_of.rb