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

- old
+ new

@@ -79,17 +79,17 @@ end Qfill::Popper.new(*args) end def primary_empty? - self.get_primary_elements == 0 + self.count_primary_elements == 0 end def totally_empty? self.get_total_elements == 0 end - def get_primary_elements + def count_primary_elements self.primary.inject(0) {|counter, queue| counter += queue.elements.length} end end end