Module: Axiom::Optimizer::Function::Predicate::Enumerable::EmptyRight
- Defined in:
- lib/axiom/optimizer/function/predicate/enumerable.rb
Overview
Optimize when the right operand is empty
Instance Method Summary collapse
-
#optimizable? ⇒ Boolean
private
Test if the right operand is empty.
Methods included from Axiom::Optimizer::Function::Predicate::Enumerable
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 right operand is empty
89 90 91 |
# File 'lib/axiom/optimizer/function/predicate/enumerable.rb', line 89 def optimizable? right_nil? || right_none? end |