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::SkipHours

Public Instance Methods

to_feed(rss, channel) click to toggle source
 
               # File rss/maker/0.9.rb, line 102
def to_feed(rss, channel)
  unless @hours.empty?
    skipHours = Rss::Channel::SkipHours.new
    channel.skipHours = skipHours
    set_parent(skipHours, channel)
    @hours.each do |hour|
      hour.to_feed(rss, skipHours.hours)
    end
  end
end