Method: WebCrawler::Parsers::Mapper::Map#to
- Defined in:
- lib/web_crawler/parsers/mapper.rb
#to(context) ⇒ Object
44 45 46 |
# File 'lib/web_crawler/parsers/mapper.rb', line 44 def to(context) @options[:to].respond_to?(:call) ? @options[:to].call(context) : @options[:to] end |