Module: Axiom::Function::Connective::Disjunction::Methods

Extended by:
Aliasable
Included in:
Attribute::Boolean, Predicate, Proposition
Defined in:
lib/axiom/function/connective/disjunction.rb

Instance Method Summary collapse

Methods included from Aliasable

inheritable_alias

Instance Method Details

#or(other) ⇒ Disjunction

Logically OR the expression with another expression

Examples:

disjunction = expression.or(other)

Parameters:

Returns:



65
66
67
# File 'lib/axiom/function/connective/disjunction.rb', line 65

def or(other)
  Disjunction.new(self, other)
end