Class Scrubyt::ResultIndexer
In: lib/scrubyt/core/scraping/result_indexer.rb
Parent: Object

Selecting results based on indices

If the results is list-like (as opposed to a ‘hard’ result, like a price or a title), probably with a variable count of results (like tags, authors etc.), you may need just specific elements - like the last one, every third one, or at specific indices. In this case you should use the select_indices syntax.

Methods

Attributes

indices_to_extract  [R] 

Public Class methods

Public Instance methods

Perform selection of the desires result instances, based on their indices

[Validate]