Module: RSS::ImageFaviconModel

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

Defined Under Namespace

Classes: ImageFavicon

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



115
116
117
118
119
120
121
122
123
# File 'lib/rss/image.rb', line 115

def self.append_features(klass)
  super

  unless klass.class == Module
    klass.install_have_child_element("favicon", IMAGE_URI, "?",
                                     "#{IMAGE_PREFIX}_favicon")
    klass.install_must_call_validator(IMAGE_PREFIX, IMAGE_URI)
  end
end