ryandotsmith/queue_classic — pull request #34 by lmarburger (2011-12-13 15:47:04+00:00)
Title: Fix queue subclasses

I'm not certain if this is something that will affect anyone, but it looked unintentional and caught me off guard. Switching the class variables to class instance variables gives each `Queue` its own class level `array` and `database`. It seemed unexpected that mutating `Queue.array` would also affect `MyQueue.array`.

Taking this a step further, it feels as though `.array` and `.database` should delegate to an instance of `Queue` to consolidate logic and prevent bypassing `#initialize`. The second commit in this pull request (867008d) aims to do exactly that.