Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

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 101
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