Class: FileWatch::TailMode::Handlers::Timeout

Inherits:
Base
  • Object
show all
Defined in:
lib/filewatch/tail_mode/handlers/timeout.rb

Instance Attribute Summary

Attributes inherited from Base

#sincedb_collection

Instance Method Summary collapse

Methods inherited from Base

#handle, #initialize, #quit?, #update_existing_specifically

Constructor Details

This class inherits a constructor from FileWatch::TailMode::Handlers::Base

Instance Method Details

#handle_specifically(watched_file) ⇒ Object



5
6
7
8
# File 'lib/filewatch/tail_mode/handlers/timeout.rb', line 5

def handle_specifically(watched_file)
  watched_file.listener.timed_out
  watched_file.file_close
end