Method: UIC::Application::StateMachine::VisualAction.create
- Defined in:
- lib/ruic/statemachine.rb
.create(el, owner) ⇒ Object
180 181 182 183 184 185 186 187 188 189 |
# 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 |