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

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

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, hours) ⇒ Object



113
114
115
116
117
118
119
120
121
# File 'lib/rss/maker/0.9.rb', line 113

def to_feed(rss, hours)
  hour = Rss::Channel::SkipHours::Hour.new
  set = setup_values(hour)
  if set
    hours << hour
    set_parent(hour, hours)
    setup_other_elements(rss, hour)
  end
end