| Class EventFramework::PrintEventHandler |
|
|
Concrete implementation of an EventHandler that outputs a string representation of an Event to a file (standard output by default).
| Methods |
| Public Class methods |
| new(file=$defout, flush=true) |
Creates a PrintEventHandler with the specified arguments:
| Public Instance methods |
| handle_event(event) |
Writes a string representation of the event to the file that was specified in the constructor. This method returns true which permits subsequent handlers in a chain the chance to process the event.