Class: Veritas::Optimizer::Function::Predicate::Equality::Tautology
- Inherits:
-
Veritas::Optimizer::Function::Predicate::Equality
- Object
- Veritas::Optimizer
- Veritas::Optimizer::Function::Predicate
- Veritas::Optimizer::Function::Predicate::Equality
- Veritas::Optimizer::Function::Predicate::Equality::Tautology
- Includes:
- Tautology
- Defined in:
- lib/veritas/optimizer/function/predicate/equality.rb
Overview
Optimize when the operand are a tautology
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary
Attributes included from Binary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#optimizable? ⇒ Boolean
private
Test if the operands are a tautology.
Methods included from Tautology
Methods included from Binary
Methods inherited from Veritas::Optimizer
Instance Method Details
#optimizable? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if the operands are a tautology
26 27 28 |
# File 'lib/veritas/optimizer/function/predicate/equality.rb', line 26 def optimizable? left.equal?(right) end |