Sha256: 87df0a57af13f4b1c45dacb319f263ecb721c2bea60be20c8b3ec6cfee918e6f
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module Html2rss module RssBuilder ## # Builds the <channel> tag (with the provided maker). class Channel ## # @param maker [RSS::Maker::RSS20::Channel] # @param config [Html2rss::Config] # @param tags [Set<Symbol>] # @return nil 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems