Class: Ravensat::OprNode
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(*nodes) ⇒ OprNode
constructor
A new instance of OprNode.
Methods inherited from Node
#&, #clauses_size, #cnf?, #each, #to_s, #vars, #vars_size, #|
Constructor Details
#initialize(*nodes) ⇒ OprNode
Returns a new instance of OprNode.
3 4 5 |
# File 'lib/ravensat/ast/opr_node.rb', line 3 def initialize(*nodes) @children = nodes end |