class UIC::Application::StateMachine::UIC::Application::StateMachine::VisualTransition

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 155
def initialize(el,machine)
        @el = el
        @machine = machine
end

Public Instance Methods

actions() click to toggle source
# File lib/ruic/statemachine.rb, line 159
def actions
        @el.xpath('./*').to_a.map{ |el| VisualAction.create(el,self) }
end