Exception: TryThis
- Inherits:
-
StandardError
- Object
- StandardError
- TryThis
- Defined in:
- lib/rbbt/util/misc/exceptions.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload = nil) ⇒ TryThis
constructor
A new instance of TryThis.
Constructor Details
#initialize(payload = nil) ⇒ TryThis
Returns a new instance of TryThis.
22 23 24 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 22 def initialize(payload = nil) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
21 22 23 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 21 def payload @payload end |