Class: Hiptest::Nodes::BinaryExpression
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(left, operator, right) ⇒ BinaryExpression
constructor
A new instance of BinaryExpression.
Methods inherited from Node
#direct_children, #find_sub_nodes, #render
Constructor Details
#initialize(left, operator, right) ⇒ BinaryExpression
Returns a new instance of BinaryExpression.
116 117 118 119 |
# File 'lib/hiptest-publisher/nodes.rb', line 116 def initialize(left, operator, right) super() @children = {:operator => operator, :left => left, :right => right} end |