class Deas::ShowExceptions::Body

Attributes

content[R]
mime_type[R]
size[R]

Public Class Methods

new(e) click to toggle source
# File lib/deas/show_exceptions.rb, line 39
def initialize(e)
  @content   = "#{e.class}: #{e.message}\n#{(e.backtrace || []).join("\n")}"
  @size      = Rack::Utils.bytesize(@content)
  @mime_type = "text/plain"
end