Class | Observer |
In: |
src/org/puremvc/ruby/patterns/observer/observer.rb
|
Parent: | Object |
An Observer is an object that encapsulates information about an interested object with a method that should be called when a particular Notification is broadcast.
In PureMVC, the Observer class assumes these responsibilities:
context | [RW] | |
notify | [RW] |
The notification method on the interested object should take one parameter of type Notification