Class: FileWatch::Ext::ProgressTail

Inherits:
ObservingTail
  • Object
show all
Defined in:
lib/filewatch/ext/progress_tail.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ ProgressTail

Returns a new instance of ProgressTail.



8
9
10
11
12
# File 'lib/filewatch/ext/progress_tail.rb', line 8

def initialize(opts={})
  super
  @opts[:progress_write_interval] = 500 unless @opts.include?(:progress_write_interval)
  @progress_last_write = 0
end