method
append_features
append_features(klass)
public
Hide source
# File lib/rss/maker/taxonomy.rb, line 53 def self.append_features(klass) super klass.add_need_initialize_variable("taxo_topics", "make_taxo_topics") klass.add_other_element("taxo_topics") klass.module_eval("attr_reader :taxo_topics\ndef make_taxo_topics\nself.class::TaxonomyTopics.new(@maker)\nend\n\ndef setup_taxo_topics(rss, current)\n@taxo_topics.to_rss(rss, current)\nend\n\ndef taxo_topic\n@taxo_topics[0] and @taxo_topics[0].value\nend\n\ndef taxo_topic=(new_value)\n@taxo_topic[0] = self.class::TaxonomyTopic.new(self)\n@taxo_topic[0].value = new_value\nend\n", __FILE__, __LINE__ + 1) end