method
install_taxo_topics
install_taxo_topics(klass)
public
Hide source
# File lib/rss/maker/taxonomy.rb, line 26 def self.install_taxo_topics(klass) klass.module_eval("class TaxonomyTopics < TaxonomyTopicsBase\ndef to_rss(rss, current)\nif current.respond_to?(:taxo_topics)\ntopics = current.class::TaxonomyTopics.new\nbag = topics.Bag\n@resources.each do |resource|\nbag.lis << RDF::Bag::Li.new(resource)\nend\ncurrent.taxo_topics = topics\nend\nend\nend\n", *Utils.get_file_and_line_from_caller(1)) end