In Files

  • rss/maker/taxonomy.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase

Public Instance Methods

new_taxo_topic() click to toggle source
 
               # File rss/maker/taxonomy.rb, line 107
def new_taxo_topic
  taxo_topic = self.class::TaxonomyTopic.new(self)
  @taxo_topics << taxo_topic
  if block_given?
    yield taxo_topic
  else
    taxo_topic
  end
end
            
to_rss(rss, current) click to toggle source
 
               # File rss/maker/taxonomy.rb, line 117
def to_rss(rss, current)
  @taxo_topics.each do |taxo_topic|
    taxo_topic.to_rss(rss, current)
  end
end