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 Ruby - APIdock but I didn’t find any
documentation
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 Ruby - APIdock 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.