[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] Sharing code and data between hooks



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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk