模块 RSS::Maker::ImageItemModel
公共类方法
append_features(klass) 点击切换源码
调用超类方法
# File rss-0.3.1/lib/rss/maker/image.rb, line 9 def self.append_features(klass) super name = "#{RSS::IMAGE_PREFIX}_item" klass.def_classed_element(name) end
install_image_item(klass) 点击切换源码
# File rss-0.3.1/lib/rss/maker/image.rb, line 16 def self.install_image_item(klass) klass.module_eval(<<-EOC, __FILE__, __LINE__ + 1) class ImageItem < ImageItemBase DublinCoreModel.install_dublin_core(self) end EOC end