the Lister class simply dumps the contents of the queue in valid yaml
[Source]
# File lib/rq-2.0.0/lister.rb, line 14 14: def list 15: #--{{{ 16: set_q 17: 18: @q.qdb.transaction_retries = 1 19: 20: puts '---' 21: @q.list(*@argv) do |tuple| 22: puts '-' 23: tuple.fields.each{|f| puts " #{ f }: #{ tuple[f] }" } 24: end 25: 26: #--}}} 27: end
[Validate]