lib/abrt/exception.rb
def format
      backtrace = self.backtrace.collect { |line| "\tfrom #{line}" }
      backtrace[0] = "#{self.backtrace.first}: #{self.message} (#{self.class.name})"
      backtrace
    end
# Provides the exception formated in the same way as Ruby does for standard
# error output.
Provides the exception formated in the same way as Ruby does for standard
error output.
Provides the exception formated in the same way as Ruby does for standard error output .
def format
      backtrace = self.backtrace.collect { |line| "\tfrom #{line}" }
      backtrace[0] = "#{self.backtrace.first}: #{self.message} (#{self.class.name})"
      backtrace
    end
def format backtrace = self . backtrace . collect { | line | "\tfrom #{line}" } backtrace [ 0 ] = "#{self.backtrace.first}: #{self.message} (#{self.class.name})" backtrace end
Provides the exception formated in the same way as Ruby does for standard
error output.
Provides the exception formated in the same way as Ruby does for standard error output .