Method: Html2rss::RssBuilder::Channel.add
- Defined in:
- lib/html2rss/rss_builder/channel.rb
.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 |