method
install_taxo_topic

install_taxo_topic(klass)
public
Hide source
# File lib/rss/maker/taxonomy.rb, line 48 def self.install_taxo_topic(klass) klass.module_eval("class TaxonomyTopics < TaxonomyTopicsBase\nclass TaxonomyTopic < TaxonomyTopicBase\nDublinCoreModel.install_dublin_core(self)\nTaxonomyTopicsModel.install_taxo_topics(self)\n\ndef to_feed(feed, current)\nif current.respond_to?(:taxo_topics)\ntopic = current.class::TaxonomyTopic.new(value)\ntopic.taxo_link = value\ntaxo_topics.to_feed(feed, topic) if taxo_topics\ncurrent.taxo_topics << topic\nsetup_other_elements(feed, topic)\nend\nend\nend\nend\n", __FILE__, __LINE__ + 1) end