Module: RSS::ContentModel
Constant Summary collapse
- ELEMENTS =
[]
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
16 17 18 19 20 21 22 23 24 |
# File 'lib/rss/content.rb', line 16 def self.append_features(klass) super klass.install_must_call_validator(CONTENT_PREFIX, CONTENT_URI) %w(encoded).each do |name| klass.install_text_element(name, CONTENT_URI, "?", "#{CONTENT_PREFIX}_#{name}") end end |