Exception: DontClose
- Inherits:
-
Exception
- Object
- Exception
- DontClose
- Defined in:
- lib/scout/exceptions.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload = nil) ⇒ DontClose
constructor
A new instance of DontClose.
Constructor Details
#initialize(payload = nil) ⇒ DontClose
Returns a new instance of DontClose.
52 53 54 |
# File 'lib/scout/exceptions.rb', line 52 def initialize(payload = nil) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
51 52 53 |
# File 'lib/scout/exceptions.rb', line 51 def payload @payload end |