Sha256: a02f5464ca09cedf53fcdaba45404c722629238fe16001a48ff236cbcf35dcaa
Contents?: true
Size: 381 Bytes
Versions: 5
Compression:
Stored size: 381 Bytes
Contents
module Predicator module Predicates class Not attr_reader :predicate def initialize predicate @predicate = predicate end def satisfied? context=Predicator::Context.new !predicate.satisfied? context end def == other other.kind_of?(self.class) && other.predicate == predicate end end end end
Version data entries
5 entries across 5 versions & 1 rubygems