# File lib/mocha/integration/mini_test/exception_translation.rb, line 9 def self.translate(exception) return exception unless exception.kind_of?(::Mocha::ExpectationError) translated_exception = ::MiniTest::Assertion.new(exception.message) translated_exception.set_backtrace(exception.backtrace) translated_exception end
Generated with the Darkfish Rdoc Generator 2.