Class: Proof::Error
Defined Under Namespace
Modules: Backtrace
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.output(error) ⇒ Object
7 8 9 10 |
# File 'lib/proof/error.rb', line 7 def self.output(error) instance = new error instance.output end |
Instance Method Details
#backtrace ⇒ Object
12 13 14 |
# File 'lib/proof/error.rb', line 12 def backtrace @backtrace ||= Extension.!(@error.backtrace, Backtrace) end |
#error_message ⇒ Object
22 23 24 |
# File 'lib/proof/error.rb', line 22 def "(#{error.class}) \"#{error.}\" at #{backtrace.first_frame}" end |