class Cosmicrawler::Em::Crawler
Public Instance Methods
each(collection, &block)
click to toggle source
# File lib/cosmicrawler/em/crawler.rb, line 6 def each collection, &block raise unless block_given? iterate(collection) do |item| block.call item end self end