Sha256: 3a8170829da0b177ee5cbdfe445cdc41e258ea8ff97c623899706c05d6772d89

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

module Mocktail::Matchers
  class IsA < Base
    extend T::Sig

    def self.matcher_name
      :is_a
    end

    def match?(actual)
      actual.is_a?(@expected)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mocktail-2.0.0 lib/mocktail/matchers/is_a.rb