class RSS::Rss::Channel::Item
私有实例方法
maker_target(items) 点击切换源代码
# File rss-0.3.1/lib/rss/0.9.rb, line 293 def maker_target(items) if items.respond_to?("items") # For backward compatibility items = items.items end items.new_item end
setup_maker_element(item) 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/0.9.rb, line 301 def setup_maker_element(item) super @enclosure.setup_maker(item) if @enclosure @source.setup_maker(item) if @source end
也别名为:_setup_maker_element