类 RSS::RDF::Item

公共类方法

new(*args) 点击切换源码
调用超类方法
# File rss-0.3.1/lib/rss/1.0.rb, line 406
def initialize(*args)
  if Utils.element_initialize_arguments?(args)
    super
  else
    super()
    self.about = args[0]
  end
end
required_uri() 点击切换源码
# File rss-0.3.1/lib/rss/1.0.rb, line 384
def required_uri
  ::RSS::URI
end

私有实例方法

maker_target(items) 点击切换源码
# File rss-0.3.1/lib/rss/1.0.rb, line 416
def maker_target(items)
  if items.respond_to?("items")
    # For backward compatibility
    items = items.items
  end
  items.new_item
end