将数据推入队列 - 推送

q = Queue.new
q << "any object including another queue"
# or
q.push :data
  • 没有高水位线,队列可以无限增长。
  • #push 永远不会阻止