Class: RSS::Maker::RSS20::Channel::Categories::Category

Inherits:
RSS09::Channel::Categories::Category
  • Object
show all
Defined in:
lib/rss/maker/2.0.rb

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, channel) ⇒ Object



56
57
58
59
60
61
62
63
64
# File 'lib/rss/maker/2.0.rb', line 56

def to_feed(rss, channel)
  category = Rss::Channel::Category.new
  set = setup_values(category)
  if set
    channel.categories << category
    set_parent(category, channel)
    setup_other_elements(rss, category)
  end
end