类 RSS::Maker::RSS09::Channel::SkipDays

公共实例方法

to_feed(rss, channel) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/0.9.rb, line 72
def to_feed(rss, channel)
  unless @days.empty?
    skipDays = Rss::Channel::SkipDays.new
    channel.skipDays = skipDays
    set_parent(skipDays, channel)
    @days.each do |day|
      day.to_feed(rss, skipDays.days)
    end
  end
end