method
install_taxo_topics
install_taxo_topics(klass)
public
Hide source
# File lib/rss/maker/taxonomy.rb, line 15 def self.install_taxo_topics(klass) klass.module_eval("class TaxonomyTopics < TaxonomyTopicsBase\ndef to_feed(feed, 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", __FILE__, __LINE__ + 1) end