RAA - observable/0.3

observable / 0.3

Short description: Observable
Category: Library/Development
Status: beta
Created: 2003-01-14 20:14:11 GMT
Last update: 2004-06-07 04:18:16 GMT
Owner: Joel VanderWerf (Projects of this owner)
Homepage: http://redshift.sourceforge.net/observable/
Download: http://redshift.sourceforge.net/observable/observable-0.3.tgz
License: Ruby's
Dependency:
Required by: foxtails/0.2
Description:

A variation on the observer pattern.

Allows the state of a variable to be exposed to observers. An observer registers code to execute when the variable changes (and also a pattern to detect changes of interest). Notification happens when the writer method is called.

New in 0.3:

- Now supports distributed observers with DRb. See the chat-server.rb
and chat-client.rb examples in the FoxTails package (0.2).

- handle_observer_exception: a mechanism for handling exceptions in observer call-backs.

- Having an observable attr called var also gives you stop_observing_var.

- Signal handlers now complain about reentrant calls.

- Added a few tests.

- Added a little more documentation.

Versions: [0.5 (2005-07-24)] [0.4 (2005-03-08)] [0.3 (2004-06-07)]

Edit this project (for project owner)

back to RAA top