Sha256: 5e83d1c097efc8545aa40a63343c50ca8c5068653858719ed3c0d9ebeef5fa0e

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

require "matchi/matcher/be_an_instance_of"

# Namespace for the Matchi library.
module Matchi
  # Collection of matcher classes.
  module Matcher
    # *Type/class* matcher.
    #
    # @example
    #   be_instance_of = Matchi::Matcher::BeInstanceOf.new(String)
    #   be_instance_of.matches? { "foo" } # => true
    class BeInstanceOf < ::Matchi::Matcher::BeAnInstanceOf
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
matchi-rspec-1.2.0 lib/matchi/matcher/be_instance_of.rb
matchi-rspec-1.1.2 lib/matchi/matcher/be_instance_of.rb