Builds the <channel> tag (with the provided maker).
Nil.
13 14 15 16 17 18
# File 'lib/html2rss/rss_builder/channel.rb', line 13 def self.add(maker, config, tags) tags.each { |tag| maker.public_send(:"#{tag}=", config.public_send(tag)) } maker.generator = "html2rss V. #{::Html2rss::VERSION}" maker.lastBuildDate = Time.now end