class WAB::UI::MultiFlow
A Flow
controller that merges multiple flows into one single flow.
Public Class Methods
new(shell)
click to toggle source
Create
a new instance that can be used to merge multiple flows into one single flow.
- shell
-
shell containing the instancec
Calls superclass method
WAB::UI::Flow::new
# File lib/wab/ui/multi_flow.rb, line 12 def initialize(shell) super(shell) end
Public Instance Methods
add_flow(flow)
click to toggle source
# File lib/wab/ui/multi_flow.rb, line 16 def add_flow(flow) flow.displays.each_pair { |name,display| @displays[name] = display } @entry = flow.entry if @entry.nil? end