about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/upr/status.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/upr/status.rb b/lib/upr/status.rb
index e3f4024..e3bb356 100644
--- a/lib/upr/status.rb
+++ b/lib/upr/status.rb
@@ -6,5 +6,10 @@ module Upr
     def error?
       seen == -1
     end
+
+    def done?
+      length && seen >= length
+    end
+
   end
 end