Sha256: 97dd91293dd148682e7a2642f746a2e8b678eb3202619bac17b77423b4bb6d6a

Contents?: true

Size: 206 Bytes

Versions: 10

Compression:

Stored size: 206 Bytes

Contents

module RSpec
  module Matchers
    module BuiltIn
      class BeAnInstanceOf < BaseMatcher
        def match(expected, actual)
          actual.instance_of? expected
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 5 rubygems

Version Path
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_instance_of.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_instance_of.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_instance_of.rb
gem_repackager-0.1.0 support/gems/rspec-expectations-2.11.2/lib/rspec/matchers/built_in/be_instance_of.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/rspec-expectations-2.11.2/lib/rspec/matchers/built_in/be_instance_of.rb
rspec-expectations-2.11.3 lib/rspec/matchers/built_in/be_instance_of.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/rspec-expectations-2.11.2/lib/rspec/matchers/built_in/be_instance_of.rb
rspec-expectations-2.11.2 lib/rspec/matchers/built_in/be_instance_of.rb
rspec-expectations-2.11.1 lib/rspec/matchers/built_in/be_instance_of.rb
rspec-expectations-2.11.0 lib/rspec/matchers/built_in/be_instance_of.rb