class RSS::Maker::RSS10
公共类方法
new(feed_version="1.0") 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 11 def initialize(feed_version="1.0") super @feed_type = "rss" end
私有实例方法
make_feed() 点击切换源代码
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 17 def make_feed RDF.new(@version, @encoding, @standalone) end
setup_elements(rss) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/1.0.rb, line 21 def setup_elements(rss) setup_channel(rss) setup_image(rss) setup_items(rss) setup_textinput(rss) end