Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rss/maker/0.9.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

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

Public Instance Methods

to_feed(rss, channel) click to toggle source
 
               # File 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