类 RSS::ITunesChannelModel::ITunesImage
公共类方法
new(*args) 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/itunes.rb, line 168 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 153 def required_prefix ITUNES_PREFIX end
required_uri() 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 157 def required_uri ITUNES_URI end
公共实例方法
full_name() 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 177 def full_name tag_name_with_prefix(ITUNES_PREFIX) end
私有实例方法
maker_target(target) 点击切换源代码
# File rss-0.3.1/lib/rss/itunes.rb, line 182 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 190 def setup_maker_attributes(image) image.href = href end