Module: RSS::Maker::ImageItemModel
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/rss/maker/image.rb |
Class Method Summary
Class Method Details
.append_features(klass)
[ GitHub ]# File 'lib/rss/maker/image.rb', line 8
def self.append_features(klass) super name = "#{RSS::IMAGE_PREFIX}_item" klass.def_classed_element(name) end
.install_image_item(klass)
[ GitHub ]# File 'lib/rss/maker/image.rb', line 15
def self.install_image_item(klass) klass.module_eval(<<-EOC, __FILE__, __LINE__ + 1) class ImageItem < ImageItemBase DublinCoreModel.install_dublin_core(self) end EOC end