Class: Html2rss::ItemExtractors::Static
- Inherits:
-
Object
- Object
- Html2rss::ItemExtractors::Static
- Defined in:
- lib/html2rss/item_extractors/static.rb
Overview
YAML usage example:
selectors:
autor:
extractor: static
static: Foobar
Would return:
'Foobar'
Instance Method Summary collapse
-
#get ⇒ Object
Returns what options holds.
-
#initialize(_xml, options) ⇒ Static
constructor
A new instance of Static.
Constructor Details
#initialize(_xml, options) ⇒ Static
Returns a new instance of Static
14 15 16 |
# File 'lib/html2rss/item_extractors/static.rb', line 14 def initialize(_xml, ) @options = end |