Class: Html2rss::Selectors::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/html2rss/selectors.rb

Overview

A context instance passed to item extractors and post-processors.

Instance Attribute Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



21
22
23
# File 'lib/html2rss/selectors.rb', line 21

def config
  @config
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



21
22
23
# File 'lib/html2rss/selectors.rb', line 21

def item
  @item
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



21
22
23
# File 'lib/html2rss/selectors.rb', line 21

def options
  @options
end

#scraperObject

Returns the value of attribute scraper

Returns:

  • (Object)

    the current value of scraper



21
22
23
# File 'lib/html2rss/selectors.rb', line 21

def scraper
  @scraper
end