module SiteMapper::Crawler::CrawlQueue::EnumerablePop
Add pop method when added to class. The class that extends this module need to implement first and delete.
Public Instance Methods
pop()
click to toggle source
Pop first element from list. @return [Object] the first object in the list or nil
# File lib/site_mapper/crawler.rb, line 106 def pop first_element = first delete(first_element) first_element end