Exception: Test::Unit::ProxyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/test/unit.rb

Overview

:nodoc: all

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ex) ⇒ ProxyError


849
850
851
852
# File 'lib/test/unit.rb', line 849

def initialize(ex)
  @message = ex.message
  @backtrace = ex.backtrace
end

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace


854
855
856
# File 'lib/test/unit.rb', line 854

def backtrace
  @backtrace
end

#messageObject

Returns the value of attribute message


854
855
856
# File 'lib/test/unit.rb', line 854

def message
  @message
end