lib/code/parser/or_operator.rb in code-ruby-0.5.6 vs lib/code/parser/or_operator.rb in code-ruby-0.6.0
- old
+ new
@@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
class Code
class Parser
- class OrOperator < Operation
+ class OrOperator < LeftOperation
def statement
- ::Code::Parser::AndOperator
+ AndOperator
end
def pipe
str("|")
end