Subject: [sup-talk] Sharing code and data between hooks

From: Matthias Vallentin <[email-masked]>
Date: Mon, 27 Dec 2010 01:51:22 -0800

What is the best way to share code and state between hooks? Say I define
a class in the startup hook and create an instance of it. When executing
before-poll, I want to reference that instance. How would I do this?

   Matthias
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk