Class: Html2rss::Selectors::Context
- Inherits:
-
Struct
- Object
- Struct
- Html2rss::Selectors::Context
- Defined in:
- lib/html2rss/selectors.rb
Overview
A context instance passed to item extractors and post-processors.
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#item ⇒ Object
Returns the value of attribute item.
-
#options ⇒ Object
Returns the value of attribute options.
-
#scraper ⇒ Object
Returns the value of attribute scraper.
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
21 22 23 |
# File 'lib/html2rss/selectors.rb', line 21 def config @config end |
#item ⇒ Object
Returns the value of attribute item
21 22 23 |
# File 'lib/html2rss/selectors.rb', line 21 def item @item end |
#options ⇒ Object
Returns the value of attribute options
21 22 23 |
# File 'lib/html2rss/selectors.rb', line 21 def end |
#scraper ⇒ Object
Returns the value of attribute scraper
21 22 23 |
# File 'lib/html2rss/selectors.rb', line 21 def scraper @scraper end |