Exception: Rackr::Dump
- Inherits:
-
StandardError
- Object
- StandardError
- Rackr::Dump
- 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
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Dump
constructor
A new instance of Dump.
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
#content ⇒ Object (readonly)
Returns the value of attribute content.
16 17 18 |
# File 'lib/rackr.rb', line 16 def content @content end |