lib/vedeu/support/queue.rb in vedeu-0.1.2 vs lib/vedeu/support/queue.rb in vedeu-0.1.3

- old
+ new

@@ -1,5 +1,7 @@ +# Todo: mutation (queue) + module Vedeu module Queue extend self def dequeue @@ -11,10 +13,10 @@ self end def enqueued? - store.size > 0 + store.any? end def reset store.clear end