Sha256: 4463b71c420895cab24108a79c477d3080b4e3f19802e0f9edbeb34663eee48c
Contents?: true
Size: 316 Bytes
Versions: 21
Compression:
Stored size: 316 Bytes
Contents
module Fakes class ArgMatchFactory def self.create_arg_matcher_using(args) matcher = CombinedArgMatcher.new args.each do|arg| current_matcher = arg.respond_to?(:matches?) ? arg : RegularArgMatcher.new(arg) matcher.add current_matcher end matcher end end end
Version data entries
21 entries across 21 versions & 1 rubygems