Sha256: 18cb7cc78fb13d6c38cdcdb778b9ea0a51a94cbfbf0456ea0623f84ca6088bb7

Contents?: true

Size: 248 Bytes

Versions: 9

Compression:

Stored size: 248 Bytes

Contents

class Exception
  def print_full_trace(io=STDOUT)
    io.puts "#{self.class}: #{message}"
    backtrace.each do |f|
      io.puts "  at #{f}"
    end
    if cause
      io.puts '--- Caused by ---'
      cause.print_full_trace(io)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
abstractivator-0.20.0 lib/abstractivator/exception_ext.rb
abstractivator-0.19.0 lib/abstractivator/exception_ext.rb
abstractivator-0.18.0 lib/abstractivator/exception_ext.rb
abstractivator-0.17.0 lib/abstractivator/exception_ext.rb
abstractivator-0.16.0 lib/abstractivator/exception_ext.rb
abstractivator-0.15.0 lib/abstractivator/exception_ext.rb
abstractivator-0.14.0 lib/abstractivator/exception_ext.rb
abstractivator-0.13.0 lib/abstractivator/exception_ext.rb
abstractivator-0.12.0 lib/abstractivator/exception_ext.rb