Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • 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/maker/2.0.rb, line 184
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