Flowdock
install_taxo_topic(klass) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/maker/taxonomy.rb, line 80
      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_rss(rss, current)\nif current.respond_to?(:taxo_topics)\ntopic = current.class::TaxonomyTopic.new(value)\ntopic.taxo_link = value\ntaxo_topics.to_rss(rss, topic) if taxo_topics\ncurrent.taxo_topics << topic\nsetup_other_elements(rss)\nend\nend\n\ndef current_element(rss)\nsuper.taxo_topics.last\nend\nend\nend\n", *Utils.get_file_and_line_from_caller(1))
      end
Register or log in to add new notes.