Sha256: 2774286940efc5c64d4fd141275c5bf6d8d6c3ddee1569c115bdc3d320f236fa
Contents?: true
Size: 530 Bytes
Versions: 11
Compression:
Stored size: 530 Bytes
Contents
# encoding: utf-8 module Mutant class Predicate # Blacklist predicate class Blacklist < self include Adamantium::Flat, Concord.new(:blacklist) # Test for match # # @param [Object] object # # @return [true] # if object matches blacklist # # @return [false] # otherwise # # @api private # def match?(object) blacklist.none? { |predicate| predicate.match?(object) } end end # Whitelist end # Filter end # Mutant
Version data entries
11 entries across 11 versions & 1 rubygems