123456789_123456789_123456789_123456789_123456789_

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

Relationships & Source Files
Namespace Children
Classes:
Day
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SkipDaysBase
Instance Chain:
self, SkipDaysBase
Inherits: SkipDaysBase
  • 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 71

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