Class: Html2rss::RssBuilder::Channel
- Inherits:
-
Object
- Object
- Html2rss::RssBuilder::Channel
- Defined in:
- lib/html2rss/rss_builder/channel.rb
Overview
Builds the <channel> tag (with the provided maker).
Class Method Summary collapse
Class Method Details
.add(maker, config, tags) ⇒ Object
Returns nil.
13 14 15 16 17 18 |
# File 'lib/html2rss/rss_builder/channel.rb', line 13 def self.add(maker, config, ) .each { |tag| maker.public_send(:"#{tag}=", config.public_send(tag)) } maker.generator = "html2rss V. #{::Html2rss::VERSION}" maker.lastBuildDate = Time.now end |