A very simple PubSub/event class in ruby