class RSS::ITunesItemModel::ITunesImage
公共类方法
new(*args) 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/itunes.rb, line 293 def initialize(*args) if Utils.element_initialize_arguments?(args) super else super() self.href = args[0] end end
required_prefix() 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 278 def required_prefix ITUNES_PREFIX end
required_uri() 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 282 def required_uri ITUNES_URI end
公共实例方法
full_name() 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 302 def full_name tag_name_with_prefix(ITUNES_PREFIX) end
私有实例方法
maker_target(target) 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 307 def maker_target(target) if href target.itunes_image {|image| image} else nil end end
setup_maker_attributes(image) 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 315 def setup_maker_attributes(image) image.href = href end