Class RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase
In: lib/rss/maker/taxonomy.rb
Parent: Object

Methods

Included Modules

Base

Classes and Modules

Class RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase::TaxonomyTopicBase

Public Instance methods

[Source]

     # File lib/rss/maker/taxonomy.rb, line 111
111:         def new_taxo_topic
112:           taxo_topic = self.class::TaxonomyTopic.new(self)
113:           @taxo_topics << taxo_topic
114:           if block_given?
115:             yield taxo_topic
116:           else
117:             taxo_topic
118:           end
119:         end

[Source]

     # File lib/rss/maker/taxonomy.rb, line 121
121:         def to_rss(rss, current)
122:           @taxo_topics.each do |taxo_topic|
123:             taxo_topic.to_rss(rss, current)
124:           end
125:         end

[Validate]