On 2/3/07, Nobuyoshi Nakada <nobu / ruby-lang.org> wrote:
> At Sun, 4 Feb 2007 09:32:54 +0900,
> Nobuyoshi Nakada wrote in [ruby-core:10187]:
> > > Now, I don't *really* need this particular test except to dramatically
> > > reduce the number of warnings generated by Transaction::Simple; what
> > > I'm curious about is why the change was made. Alternatively, without
> > > doing a check on RUBY_VERSION, how can I have one test that works in
> > > both Ruby 1.8 and Ruby 1.9?
> > 1.9 has and 1.8.6 will have #instance_variable_defined? method.
> You can use this code for previous versions.

Thank you. I have already released Transaction::Simple 1.4 with a
different workaround, but when Ruby 1.8.6 is released or I need to fix
something in Transaction::Simple in the interim, I will release a
version that contains this code.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca