Sha256: 58de67078e5bad55a87b69999cefdbd1b35dbbf5bee10fb6a286167fb2bb49ac
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
# typed: strict module Mocktail::Matchers class Any < Base extend T::Sig sig { returns(Symbol) } def self.matcher_name :any end sig { void } def initialize # Empty initialize is necessary b/c Base default expects an argument end sig { params(actual: T.anything).returns(T::Boolean) } def match?(actual) true end sig { returns(String) } def inspect "any" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mocktail-2.0.0 | lib/mocktail/sorbet/mocktail/matchers/any.rb |