On Oct 7, 2005, at 8:46 AM, iamscottwalter / gmail.com wrote:

> Hi,

Hello and welcome.

> I am coming from the Java world and was wondering if there ins  
> anything
> in Ruby similar to Java's event processing?  For  example I have a
> particular Object that can fire off an event to all objects that  
> listen
> for that event.  A more real world example would be that I have a
> delete() method that was called and I want to let all interested
> parties know that the delete() method was called.
>
> In the Java space I would setup an event listener.  When the delete()
> method would be called I wouold send an event to all my registered
> listeners.

I think you are looking for observer, in Ruby's standard library:

http://www.ruby-doc.org/stdlib/libdoc/observer/rdoc/index.html

Hope that helps.

James Edward Gray II