Module: RSS::TaxonomyTopicModel

Extended by:
BaseModel
Included in:
RDF
Defined in:
lib/rss/taxonomy.rb

Defined Under Namespace

Classes: TaxonomyTopic

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



91
92
93
94
95
# File 'lib/rss/taxonomy.rb', line 91

def self.append_features(klass)
  super
  var_name = "#{TAXO_PREFIX}_topic"
  klass.install_have_children_element("topic", TAXO_URI, "*", var_name)
end