publisher 1.1.1
DESCRIPTION:
publisher is a module for extending a class with event subscription and firing capabilities. This is helpful for implementing objects that participate in the Observer design pattern.
FEATURES:
-
Nice syntax for declaring events that can be subscribed for
-
Convenient event firing syntax
-
Subscribe / unsubscribe functionality
-
Several method name aliases give you the flexibility to make your code more readable (eg, fire, notify, emit)
SYNOPSIS:
require 'rubygems'
require 'publisher'
Gemfile:
=
install:
=
Development Dependencies (1):
hoe
>= 2.3.3