123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS09::Channel::SkipHours

Relationships & Source Files
Namespace Children
Classes:
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SkipHoursBase
Instance Chain:
self, SkipHoursBase
Inherits: SkipHoursBase
  • Object
Defined in: lib/rss/maker/0.9.rb

Instance Method Summary

Instance Method Details

#to_feed(rss, channel)

[ GitHub ]

  
# File 'lib/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