Method: FileWatch::TailMode::Handlers::Create#handle_specifically
- Defined in:
- lib/filewatch/tail_mode/handlers/create.rb
#handle_specifically(watched_file) ⇒ Object
5 6 7 8 9 |
# File 'lib/filewatch/tail_mode/handlers/create.rb', line 5 def handle_specifically(watched_file) if open_file(watched_file) add_or_update_sincedb_collection(watched_file) unless sincedb_collection.member?(watched_file.sincedb_key) end end |