lib/piglet/field/infix_expression.rb in piglet-0.2.2 vs lib/piglet/field/infix_expression.rb in piglet-0.2.3
- old
+ new
@@ -1,8 +1,10 @@
module Piglet
module Field
class InfixExpression # :nodoc:
include Field
+
+ attr_reader :operator
def initialize(operator, left_expression, right_expression, options=nil)
options ||= {}
@operator, @left_expression, @right_expression = operator, left_expression, right_expression
if options[:type]
\ No newline at end of file