Module: RSS::ImageItemModel

Extended by:
BaseModel
Includes:
ImageModelUtils
Included in:
RDF::Item
Defined in:
lib/rss/image.rb

Defined Under Namespace

Classes: ImageItem

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

Methods included from ImageModelUtils

#validate_one_tag_name

Class Method Details

.append_features(klass) ⇒ Object



33
34
35
36
37
38
39
# File 'lib/rss/image.rb', line 33

def self.append_features(klass)
  super

  klass.install_have_child_element("item", IMAGE_URI, "?",
                                   "#{IMAGE_PREFIX}_item")
  klass.install_must_call_validator(IMAGE_PREFIX, IMAGE_URI)
end