This class supervises activity on a tailed fail and collects newly read lines until the Tail::Group fetches and processes them.

Methods
M
P
Instance Public methods
method_missing(id, *args, &block)
# File lib/file/tail/tailer.rb, line 20
      def method_missing(id, *args, &block)
        if args.empty? && !(value = self[id]).nil?
          value
        else
          super
        end
      end
pending_lines()

Fetch all the pending lines from this Tailer and thereby remove them from the Tailer’s queue.

# File lib/file/tail/tailer.rb, line 14
      def pending_lines
        Array.new(queue.size) { queue.deq(true) }
      end
pending_lines?()

True if there are any lines pending on this Tailer, false otherwise.

# File lib/file/tail/tailer.rb, line 9
      def pending_lines?
        !queue.empty?
      end