Module: ProcessTail::ReadIOExtension
- Defined in:
- lib/process_tail.rb
Instance Attribute Summary collapse
-
#process_tail_after_close ⇒ Object
Returns the value of attribute process_tail_after_close.
Instance Method Summary collapse
Instance Attribute Details
#process_tail_after_close ⇒ Object
Returns the value of attribute process_tail_after_close.
8 9 10 |
# File 'lib/process_tail.rb', line 8 def process_tail_after_close @process_tail_after_close end |
Instance Method Details
#close ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/process_tail.rb', line 10 def close super ensure if hook = process_tail_after_close hook.call end end |