模块 RSS::TaxonomyTopicsModel

公共类方法

append_features(klass) 点击切换源代码
调用超类方法
# File rss-0.3.1/lib/rss/taxonomy.rb, line 31
def self.append_features(klass)
  super

  klass.install_must_call_validator(TAXO_PREFIX, TAXO_URI)
  %w(topics).each do |name|
    klass.install_have_child_element(name, TAXO_URI, "?",
                                     "#{TAXO_PREFIX}_#{name}")
  end
end