class Bizflow::SemanticModel::TaskAction
Attributes
next_action[RW]
tasks[RW]
Public Class Methods
new(name)
click to toggle source
Calls superclass method
Bizflow::SemanticModel::Action::new
# File lib/bizflow/semantic_model/task_action.rb, line 10 def initialize(name) super("task", name) @tasks = [] end
Public Instance Methods
add_task(task)
click to toggle source
# File lib/bizflow/semantic_model/task_action.rb, line 15 def add_task(task) tasks << task end
next_actions()
click to toggle source
# File lib/bizflow/semantic_model/task_action.rb, line 19 def next_actions { only_one: next_action } end