lib/qfill/popper.rb in qfill-0.0.2 vs lib/qfill/popper.rb in qfill-0.0.3

- old
+ new

@@ -47,10 +47,10 @@ self.primary[self.current_index] end def set_next_as_current! next_index = self.current_index + 1 - if (next_index) == self.primary.length + if (next_index) >= self.primary.length # If we have iterated through all the queues, then we reset self.reset! else self.current_index = next_index end