class RSS::Maker::RSS10::Image
公共实例方法
have_required_values?() 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 209 def have_required_values? super and @maker.channel.have_required_values? end
to_feed(rss) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 197 def to_feed(rss) if @url image = RDF::Image.new(@url) set = setup_values(image) if set rss.image = image set_parent(image, rss) setup_other_elements(rss, image) end end end
私有实例方法
required_variable_names() 点击切换源代码
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 218 def required_variable_names %w(url title link) end
variables() 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 214 def variables super + ["link"] end