RubyGems Navigation menu

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.1.2 - September 27, 2011 (9 KB)
  2. 1.1.1 - July 25, 2009 (8,5 KB)
  3. 1.1.0 - November 21, 2007* (8 KB)

Development Abhängigkeiten (1):

hoe >= 2.3.3

Besitzer:

Autoren:

  • Atomic Object

SHA 256-Prüfsumme:

71785f8971c0582f6e5587fdbf44fe65638781231a5c5b4ee63248a549ffaddf

Downloads insgesamt 17.642

Für diese Version 4.060

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: