class SequenceDef

Attributes

doc[R]
name[R]
steps[R]

Public Class Methods

new(ast) click to toggle source
Calls superclass method Def::new
# File lib/runtime.rb, line 163
def initialize ast
        super ast
        @name = ast.name
        @steps = []
        @doc = ast.doc
end

Public Instance Methods

add_step(step_def) click to toggle source
# File lib/runtime.rb, line 170
def add_step step_def
        @steps.push step_def
end