Method: Html2rss::ItemExtractors::Static#initialize

Defined in:
lib/html2rss/item_extractors/static.rb

#initialize(_xml, options) ⇒ Static

Initializes the Static extractor.

Parameters:

  • _xml (nil, Nokogiri::XML::Element)

    Unused parameter for compatibility with other extractors.

  • options (Options)

    Options containing the static value.

[View source]

26
27
28
# File 'lib/html2rss/item_extractors/static.rb', line 26

def initialize(_xml, options)
  @options = options
end