class EXEL::SequenceNode
A node in the AST that has as its children a sequence of nodes to be run sequentially
Public Class Methods
new(*children)
click to toggle source
# File lib/exel/sequence_node.rb, line 8 def initialize(*children) @instruction = NullInstruction.new @children = children end
Public Instance Methods
run(context)
click to toggle source
# File lib/exel/sequence_node.rb, line 13 def run(context) @children.each { |child| child.run(context) } end