Alan McKean wrote:
OK. Let me make sure I understand ... these are all static in class Ruby. Then I call setCurrentInstance() in newInstance(RubyConfig), and I always use getCurrentInstance() in my lazy initializers: getMarshal(), getMethods(), etc. Correct?

That's the idea. The only dependency is that some external entity must be expected to set a "current" runtime for the thread in question before your stuff fires.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to