From: Walton Hoops Date: 2011-10-29T03:29:50+09:00 Subject: Re: @_result object in Ruby 1.9.2 On 10/28/2011 10:19 AM, Justin Collins wrote: > On 10/27/2011 02:11 PM, Mario Ruiz wrote: >> I was using @_result in Ruby 1.8.7 but it seems that doesn't >> exist anymore and I badly need it for example to get the failures >> like this failures=@_result.instance_variable_get(:@failures) >> >> I was looking at http://apidock.com/ruby/ but I didn't find any >> documentation >> > > This is because test/unit was completely replaced in 1.9 by > minitest. It appears you are relying on an implementation-specific > variable that is no longer available. > > You might find what you need in minitest/unit.rb. > > -Justin > Alternatively, you could try using the test-unit gem, which a more up-to-date version of the test-unit that was bundled in 1.8.x .