Namespace
Methods
A
H
M
Included Modules
Constants
Author = Feed::Author
 
Category = Feed::Category
 
Contributor = Feed::Contributor
 
Id = Feed::Id
 
Link = Feed::Link
 
Rights = Feed::Rights
 
Title = Feed::Title
 
Updated = Feed::Updated
 
Instance Public methods
have_author?(check_parent=true)
# File ../ruby/lib/rss/atom.rb, line 419
def have_author?(check_parent=true)
  authors.any? {|author| !author.to_s.empty?} or
    (check_parent and @parent and @parent.have_author?) or
    (source and source.have_author?)
end
Instance Private methods
atom_validate(ignore_unknown_element, tags, uri)
# File ../ruby/lib/rss/atom.rb, line 426
def atom_validate(ignore_unknown_element, tags, uri)
  unless have_author?
    raise MissingTagError.new("author", tag_name)
  end
  validate_duplicate_links(links)
end
have_required_elements?()
# File ../ruby/lib/rss/atom.rb, line 433
def have_required_elements?
  super and have_author?
end
maker_target(items)
# File ../ruby/lib/rss/atom.rb, line 437
def maker_target(items)
  if items.respond_to?("items")
    # For backward compatibility
    items = items.items
  end
  items.new_item
end