Methods
A
H
I
M
N
S
Included Modules
Constants
Author = Feed::Entry::Author
 
Category = Feed::Entry::Category
 
Content = Feed::Entry::Content
 
Contributor = Feed::Entry::Contributor
 
Id = Feed::Entry::Id
 
Link = Feed::Entry::Link
 
Published = Feed::Entry::Published
 
Rights = Feed::Entry::Rights
 
Source = Feed::Entry::Source
 
Summary = Feed::Entry::Summary
 
Title = Feed::Entry::Title
 
Updated = Feed::Entry::Updated
 
Class Public methods
new(version=nil, encoding=nil, standalone=nil)
# File ../ruby/lib/rss/atom.rb, line 669
def initialize(version=nil, encoding=nil, standalone=nil)
  super("1.0", version, encoding, standalone)
  @feed_type = "atom"
  @feed_subtype = "entry"
end
Instance Public methods
have_author?()
# File ../ruby/lib/rss/atom.rb, line 684
def have_author?
  authors.any? {|author| !author.to_s.empty?} or
    (source and source.have_author?)
end
items()
# File ../ruby/lib/rss/atom.rb, line 675
def items
  [self]
end
setup_maker(maker)
# File ../ruby/lib/rss/atom.rb, line 679
def setup_maker(maker)
  maker = maker.maker if maker.respond_to?("maker")
  super(maker)
end
Instance Private methods
atom_validate(ignore_unknown_element, tags, uri)
# File ../ruby/lib/rss/atom.rb, line 690
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 697
def have_required_elements?
  super and have_author?
end
maker_target(maker)
# File ../ruby/lib/rss/atom.rb, line 701
def maker_target(maker)
  maker.items.new_item
end