Exception: Hooks::ForceReturn
- Defined in:
- docs/00000_a_root.rb
Overview
Exception that help managing overwritten return from Hooks
Constant Summary collapse
- CONST =
Constant value for hooks functionality
new('Return forced')
Instance Attribute Summary collapse
-
#data
Data that should be returned.
-
#hook_name
Name of the hook that forced the return.
-
#reason
Reason that has forced the return.
Instance Attribute Details
#data
Data that should be returned
116 117 118 |
# File 'docs/00000_a_root.rb', line 116 def data @data end |
#hook_name
Name of the hook that forced the return
120 121 122 |
# File 'docs/00000_a_root.rb', line 120 def hook_name @hook_name end |
#reason
Reason that has forced the return
118 119 120 |
# File 'docs/00000_a_root.rb', line 118 def reason @reason end |