In Files

  • rss-0.2.9/lib/rss/maker/2.0.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::RSS20::Items::Item::Categories::Category

Public Instance Methods

to_feed(rss, item) click to toggle source
 
               # File rss-0.2.9/lib/rss/maker/2.0.rb, line 185
def to_feed(rss, item)
  category = Rss::Channel::Item::Category.new
  set = setup_values(category)
  if set
    item.categories << category
    set_parent(category, item)
    setup_other_elements(rss)
  end
end