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

Inherits:
DayBase
  • Object
show all
Defined in:
lib/rss/maker/0.9.rb

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, days) ⇒ Object



84
85
86
87
88
89
90
91
92
# File 'lib/rss/maker/0.9.rb', line 84

def to_feed(rss, days)
  day = Rss::Channel::SkipDays::Day.new
  set = setup_values(day)
  if set
    days << day
    set_parent(day, days)
    setup_other_elements(rss, day)
  end
end