Class: Debugger::XmlPrinter::ExceptionProxy
- Inherits:
-
Object
- Object
- Debugger::XmlPrinter::ExceptionProxy
- Defined in:
- lib/ruby-debug-ide/xml_printer.rb
Instance Method Summary collapse
-
#initialize(exception) ⇒ ExceptionProxy
constructor
A new instance of ExceptionProxy.
Constructor Details
#initialize(exception) ⇒ ExceptionProxy
Returns a new instance of ExceptionProxy.
41 42 43 44 45 |
# File 'lib/ruby-debug-ide/xml_printer.rb', line 41 def initialize(exception) @exception = exception @message = exception. @backtrace = Debugger.cleanup_backtrace(exception.backtrace) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(called, *args, &block) ⇒ Object (private)
48 49 50 |
# File 'lib/ruby-debug-ide/xml_printer.rb', line 48 def method_missing(called, *args, &block) @exception.__send__(called, *args, &block) end |