Sha256: cf8b4b45fc00af3abe77d71d335da5c8d9820afc9aaf90cc5f6689de0fae2fbb
Contents?: true
Size: 469 Bytes
Versions: 3
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 module Mutant class Matcher # A null matcher, that does not match any subjects class Null < self include Equalizer.new # Enumerate subjects # # @return [Enumerator<Subject] # if no block given # # @return [self] # otherwise # # @api private # def each return to_enum unless block_given? self end end # Null end # Matcher end # Mutant
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.5.19 | lib/mutant/matcher/null.rb |
mutant-0.5.18 | lib/mutant/matcher/null.rb |
mutant-0.5.17 | lib/mutant/matcher/null.rb |