Sha256: 2f223d8e897b9f54d612e02cc034f2a52e3b7c4b107c7c27f9f5012ef048231b
Contents?: true
Size: 285 Bytes
Versions: 1
Compression:
Stored size: 285 Bytes
Contents
# typed: strict module Mocktail::Matchers class IsA < Base extend T::Sig sig { returns(Symbol) } def self.matcher_name :is_a end sig { params(actual: T.untyped).returns(T::Boolean) } 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/sorbet/mocktail/matchers/is_a.rb |