module Piglet module Field class InfixExpression # :nodoc: include Operators def initialize(operator, left_expression, right_expression) @operator, @left_expression, @right_expression = operator, left_expression, right_expression end def simple? false end def to_s "#{parenthesise(@left_expression)} #{@operator} #{parenthesise(@right_expression)}" end end end end