Exception: Rackr::Dump

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rackr.rb

Overview

Dump is a special error that is used to dump the content of a request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Dump

Returns a new instance of Dump.



18
19
20
21
22
# File 'lib/rackr.rb', line 18

def initialize(content)
  @content = content

  super
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



16
17
18
# File 'lib/rackr.rb', line 16

def content
  @content
end