RubyGems Navigation menu

seh 0.0.2

Pure ruby event handling similar to w3c dom events. Lots of bells and whistles to support complex event handling as required by stuff like video games. + event handling in a synchronous specific order + event targets can have multiple parents and common ancestors; event propagation does a breadth first search traversal over a directed acyclic event target graph + staged callbacks: event.before { .. }; event.after { .. } + staged callbacks allow for an ancestor to influence affect of event on a descendant: ancestor.before { |event| event.x = 5 }; descendant.after { |event| puts event.x } + events can have multiple types, and types can inherit from other types + bind callbacks using event type filtering: node.bind(overcast AND (rain OR snow)) { |event| callback! } + optional event failure: event.success { yay! }; event.failure { oops! } + events on stack don't care about other events above/below - event A, currently executing, can create/dispatch/finish another event B

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.3.0 - January 07, 2013 (15.5KB)
  2. 0.1.0 - June 19, 2011 (7KB)
  3. 0.0.3 - June 17, 2011 (6.5KB)
  4. 0.0.2 - June 16, 2011 (6KB)
  5. 0.0.1 - June 15, 2011 (5.5KB)

所有者:

作者:

  • Ryan Berckmans

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 15,932

このバージョンのみ 3,044

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: