install_taxo_topics(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 15
      def self.install_taxo_topics(klass)
        klass.module_eval(          class TaxonomyTopics < TaxonomyTopicsBase            def to_feed(feed, current)              if current.respond_to?(:taxo_topics)                topics = current.class::TaxonomyTopics.new                bag = topics.Bag                @resources.each do |resource|                  bag.lis << RDF::Bag::Li.new(resource)                end                current.taxo_topics = topics              end            end          end, __FILE__, __LINE__ + 1)
      end
Register or log in to add new notes.