Sha256: f45fa0ed9910539ccf2688a17e073f38448baff1af2435e0edcfc46807c44cac
Contents?: true
Size: 303 Bytes
Versions: 15
Compression:
Stored size: 303 Bytes
Contents
module Mocktail class MatcherRegistry 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
15 entries across 15 versions & 1 rubygems