Class: FileWatch::Ext::ProgressTail
- Inherits:
-
ObservingTail
- Object
- ObservingTail
- FileWatch::Ext::ProgressTail
- Defined in:
- lib/filewatch/ext/progress_tail.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ProgressTail
constructor
A new instance of ProgressTail.
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 |