Method: Logica::Predicates::Base#xor

Defined in:
lib/logica/predicates/base.rb

#xor(other) ⇒ Object



37
38
39
# File 'lib/logica/predicates/base.rb', line 37

def xor(other)
  self.or(other).and(self.and(other).negated)
end