From: Nobuyoshi Nakada Date: 2007-07-25T09:50:12+09:00 Subject: Re: Static variables in Ruby. Hi, At Wed, 25 Jul 2007 06:59:46 +0900, Joel VanderWerf wrote in [ruby-talk:261627]: > Interesting. That is because Float, Regexp, and Bignum are instantiated > per scope, right? Yes, per node in accurate. > Sometimes a little abstraction leakage can be useful! Note that it works with the current MRI. I won't be surprised if it never work with JRuby, Rubinius, IronRuby, etc. -- Nobu Nakada