Sha256: 1d338338d69f935163fd9f169304a6ec11b8c9667f858dadca4052583e9092c7
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
module Mocktail class MatcherRegistry extend T::Sig def self.instance @matcher_registry ||= new end def initialize @matchers = {} end def add(matcher_type) @matchers[matcher_type.matcher_name] = matcher_type end def get(name) @matchers[name] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mocktail-2.0.0 | lib/mocktail/value/matcher_registry.rb |