Class: LogStash::Inputs::DeleteCompletedFileHandler
- Inherits:
-
Object
- Object
- LogStash::Inputs::DeleteCompletedFileHandler
- Defined in:
- lib/logstash/inputs/delete_completed_file_handler.rb
Instance Method Summary collapse
Instance Method Details
#handle(path) ⇒ Object
5 6 7 |
# File 'lib/logstash/inputs/delete_completed_file_handler.rb', line 5 def handle(path) Pathname.new(path).unlink rescue nil end |