Sha256: df91b429cf107ea01c9dc23433d4ba5e23a165afbdf40fb4c4d16322f2f410cb
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module Dry module Logic module Operators def and(other) Operations::And.new(self, other) end alias & and def or(other) Operations::Or.new(self, other) end alias | or def xor(other) Operations::Xor.new(self, other) end alias ^ xor def then(other) Operations::Implication.new(self, other) end alias > then end end end
Version data entries
5 entries across 5 versions & 1 rubygems