Module: RSS::Maker::ImageItemModel
- Defined in:
- lib/rss/maker/image.rb
Defined Under Namespace
Classes: ImageItemBase
Class Method Summary (collapse)
Class Method Details
+ (Object) append_features(klass)
8 9 10 11 12 13 |
# 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 |
+ (Object) install_image_item(klass)
15 16 17 18 19 20 21 |
# 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 |