class Test::Unit::Assertions::AssertExceptionHelper::WrappedException
Attributes
exception[R]
Public Class Methods
new(exception)
click to toggle source
# File test-unit-3.3.4/lib/test/unit/assertions.rb, line 2118 def initialize(exception) @exception = exception end
Public Instance Methods
inspect()
click to toggle source
# File test-unit-3.3.4/lib/test/unit/assertions.rb, line 2122 def inspect if default_inspect? "#{@exception.class.inspect}(<#{@exception.message}>)" else @exception.inspect end end
method_missing(name, *args, &block)
click to toggle source
# File test-unit-3.3.4/lib/test/unit/assertions.rb, line 2130 def method_missing(name, *args, &block) @exception.__send__(name, *args, &block) end