class UIC::Application::StateMachine::UIC::Application::StateMachine::VisualState
Attributes
el[R]
@return [Nokogiri::XML::Element] the Nokogiri
element in the `.uia` representing this visual state.
machine[R]
@return [Application::StateMachine] the state machine containing the referenced state.
Public Class Methods
new(el,machine)
click to toggle source
# File lib/ruic/statemachine.rb, line 128 def initialize(el,machine) @el = el @machine = machine end
Public Instance Methods
enter_actions()
click to toggle source
# File lib/ruic/statemachine.rb, line 133 def enter_actions @el.xpath('xmlns:enter/*').to_a.map{ |el| VisualAction.create(el,self) } end
exit_actions()
click to toggle source
# File lib/ruic/statemachine.rb, line 137 def exit_actions @el.xpath('xmlns:exit/*').to_a.map{ |el| VisualAction.create(el,self) } end