lib/veritas/optimizer/relation/operation/reverse.rb in veritas-optimizer-0.0.3 vs lib/veritas/optimizer/relation/operation/reverse.rb in veritas-optimizer-0.0.4

- old
+ new

@@ -55,18 +55,10 @@ end # class OrderOperand # Optimize when operand is optimizable class UnoptimizedOperand < self - - # Test if the operand is unoptimized - # - # @return [Boolean] - # - # @api private - def optimizable? - !operand.equal?(operation.operand) - end + include Function::Unary::UnoptimizedOperand # Return an Reverse with an optimized operand # # @return [Reverse] #