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 47
      def self.install_taxo_topic(klass)
        klass.module_eval(          class TaxonomyTopics < TaxonomyTopicsBase            class TaxonomyTopic < TaxonomyTopicBase              DublinCoreModel.install_dublin_core(self)              TaxonomyTopicsModel.install_taxo_topics(self)              def to_feed(feed, current)                if current.respond_to?(:taxo_topics)                  topic = current.class::TaxonomyTopic.new(value)                  topic.taxo_link = value                  taxo_topics.to_feed(feed, topic) if taxo_topics                  current.taxo_topics << topic                  setup_other_elements(feed, topic)                end              end            end          end, __FILE__, __LINE__ + 1)
      end
Register or log in to add new notes.