Module: RSS::TaxonomyTopicsModel
- Extended by:
- BaseModel
- Included in:
- RDF::Channel, RDF::Item, RSS::TaxonomyTopicModel::TaxonomyTopic
- Defined in:
- lib/rss/taxonomy.rb
Defined Under Namespace
Classes: TaxonomyTopics
Class Method Summary collapse
Methods included from BaseModel
install_date_element, install_have_child_element, install_have_children_element, install_text_element
Methods included from Utils
element_initialize_arguments?, get_file_and_line_from_caller, html_escape, new_with_value_if_need, to_class_name
Class Method Details
.append_features(klass) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/rss/taxonomy.rb', line 28 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 |