Method: WebCrawler::Parsers::Mapper::Map#in

Defined in:
lib/web_crawler/parsers/mapper.rb

#in(context) ⇒ Object



34
35
36
37
38
# File 'lib/web_crawler/parsers/mapper.rb', line 34

def in(context)
  context.search(element).each do |el|
    yield el, @block.call
  end
end