Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • rss/maker/2.0.rb

Class/Module Index [+]

Quicksearch

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

Public Instance Methods

to_feed(rss, channel) click to toggle source
 
               # File 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