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