Sha256: 7cec80002347f72ada572fa381abc553b9d9cd0f94928809deb0f55b8fdb5787
Contents?: true
Size: 429 Bytes
Versions: 25
Compression:
Stored size: 429 Bytes
Contents
# encoding: utf-8 module FileWatch module TailMode module Handlers class Grow < Base def handle_specifically(watched_file) watched_file.file_seek(watched_file.bytes_read) loop do break if quit? loop_control = watched_file.loop_control_adjusted_for_stat_size controlled_read(watched_file, loop_control) break unless loop_control.keep_looping? end end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems