RubyGems Navigation menu

swerling-cosell 0.0.2

Cosell is a minimal implementation of the 'Announcements' observer framework, originally introduced in VisualWorks Smalltalk as a replacement for 'triggerEvent' style of event notification. Instead of triggering events identified by symbols, the events are first class objects. For rationale, please see the original blog posting by Vassili Bykov (refs below). *Lineage* This implementation is loosely based on Lukas Renggli's tweak of Colin Putney's Squeak implementation of Vassili Bykov's Announcements framework for VisualWorks Smalltalk. (Specifically Announcements-lr.13.mcz was used as a reference.) Liberties where taken during the port. In particular, the Announcer class in the Smalltalk version is implemented here as a ruby module which can be mixed into any object. Also, in this implementation any object (or class) can serve as an announcement, so no Announcement class is implemented. The ability to queue announcements in the background is built into cosell. <b>The Name 'Cosell'</b> I chose the name 'Cosell' because a. Howard Cosell is an iconic event announcer b. Googling for 'Ruby Announcements', 'Ruby Event Announcements', etc., produced scads of results about ruby meetups, conferences, and the like. So I went with something a bit cryptic but hopefully a little more searchable. *See* * {Original blog posting describing Announcments by Vassili Bykov}[http://www.cincomsmalltalk.com/userblogs/vbykov/blogView?entry=3310034894] * {More info on the Announcements Framework}[http://wiki.squeak.org/squeak/5734]

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.2 - August 10, 2014 (13.5 KB)
  2. 0.0.1 - August 10, 2014 (13 KB)

Development Dependencies (1):

bones >= 2.5.1

Authors:

  • Steven Swerling

SHA 256 checksum:

3509e8600afc490e7b3b5fc5b0fc02343c75e26c15f69625dc93193921cd01eb

Total downloads 5,570

For this version 3,321

Licenses:

N/A

Required Ruby Version: >= 0

Links: