class FileWatch::LoopControlResult

Attributes

count[R]
more[R]
size[R]

Public Class Methods

new(count, size, more) click to toggle source
# File lib/filewatch/bootstrap.rb, line 49
def initialize(count, size, more)
  @count, @size, @more = count, size, more
  @read_error_detected = false
end

Public Instance Methods

flag_read_error() click to toggle source
# File lib/filewatch/bootstrap.rb, line 54
def flag_read_error
  @read_error_detected = true
end
keep_looping?() click to toggle source
# File lib/filewatch/bootstrap.rb, line 58
def keep_looping?
  !@read_error_detected && @more
end