class UIC::Application::StateMachine::UIC::Application::StateMachine::VisualAction
Attributes
el[R]
@return [Nokogiri::XML::Element] the Nokogiri
element representing this action in the `.uia`.
machine[R]
@return [Application::StateMachine] the state machine triggering this action.
owner[R]
@return [VisualState,VisualTransition] the visual state or transition wrapping this action.
Public Class Methods
create(el,owner)
click to toggle source
# File lib/ruic/statemachine.rb, line 180 def self.create(el,owner) klass = case el.name when 'goto-slide' then GotoSlide when 'call' then Call when 'set-attribute' then SetAttribute when 'fire-event' then FireEvent else Generic end klass.new(el,owner) end
new(el,owner)
click to toggle source
# File lib/ruic/statemachine.rb, line 191 def initialize(el,owner) @el = el @owner = owner @machine = owner.machine end