lib/html2rss/item.rb in html2rss-0.5.2 vs lib/html2rss/item.rb in html2rss-0.6.0
- old
+ new
@@ -4,9 +4,12 @@
require 'nokogiri'
require_relative 'item_extractors'
require_relative 'attribute_post_processors'
module Html2rss
+ ##
+ # Takes the selected Nokogiri::HTML and responds to accessors names
+ # defined in the feed config.
class Item
def initialize(xml, config)
@xml = xml
@config = config
end