lib/tailog.rb in tailog-0.1.0 vs lib/tailog.rb in tailog-0.1.1

- old
+ new

@@ -10,9 +10,10 @@ lines = 0 begin seek(idx) chunk = read(buffer) + break unless chunk lines += chunk.count("\n") chunks.unshift chunk idx -= buffer end while lines < ( n + 1 ) && pos != 0