class RSS::ImageItemModel::ImageItem
公共类方法
new(*args) 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/image.rb, line 85 def initialize(*args) if Utils.element_initialize_arguments?(args) super else super() self.about = args[0] self.resource = args[1] end end
required_prefix() 点击切换源代码
# File rss-0.3.1/lib/rss/image.rb, line 53 def required_prefix IMAGE_PREFIX end
required_uri() 点击切换源代码
# File rss-0.3.1/lib/rss/image.rb, line 57 def required_uri IMAGE_URI end
公共实例方法
full_name() 点击切换源代码
# File rss-0.3.1/lib/rss/image.rb, line 95 def full_name tag_name_with_prefix(IMAGE_PREFIX) end
私有实例方法
maker_target(target) 点击切换源代码
# File rss-0.3.1/lib/rss/image.rb, line 100 def maker_target(target) target.image_item end
setup_maker_attributes(item) 点击切换源代码
# File rss-0.3.1/lib/rss/image.rb, line 104 def setup_maker_attributes(item) item.about = self.about item.resource = self.resource end