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.
11 12 13 14 15 |
# File 'lib/ruby-debug-ide/xml_printer.rb', line 11 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)
18 19 20 |
# File 'lib/ruby-debug-ide/xml_printer.rb', line 18 def method_missing(called, *args, &block) @exception.__send__(called, *args, &block) end |