Method: WWMD::Spider#show_queue
- Defined in:
- lib/wwmd/page/spider.rb
#show_queue(id = nil) ⇒ Object Also known as: q
return the current queue (or the entry in the queue at [id]
87 88 89 90 91 92 93 94 |
# File 'lib/wwmd/page/spider.rb', line 87 def show_queue(id=nil) if id.nil? @queued.each_index { |i| putx i.to_s + " :: " + @queued[i].to_s } return nil else return @queued[id] end end |