Sha256: decaf708402a134474f138d6100491a74bf366573f60f5325847e8d1f5d90f1f
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
module Vanguard class Matcher class Unary # Boolean not matcher class NOT < self # Return inverse of operand # # @return [true] # if operand returns false # # @return [false] # otherwise # # @api private # def matches?(value) !operand_matches?(value) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vanguard-0.0.5 | lib/vanguard/matcher/unary/not.rb |
vanguard-0.0.4 | lib/vanguard/matcher/unary/not.rb |
vanguard-0.0.3 | lib/vanguard/matcher/unary/not.rb |