Module: ProcessTail::ReadIOExtension

Defined in:
lib/process_tail.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#process_tail_after_closeObject

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

#closeObject



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