| Class | Syndication::Atom::Parser |
| In: |
lib/syndication/atom.rb
|
| Parent: | Syndication::AbstractParser |
A parser for Atom feeds. See Syndication::Parser in common.rb for the abstract class this specializes.
The most recently parsed feed as a Syndication::Feed object.
# File lib/syndication/atom.rb, line 523 def feed return @parsetree end
Reset the parser ready to parse a new feed.
# File lib/syndication/atom.rb, line 513 def reset # Set up an empty Feed object and make it the current object @parsetree = Feed.new(nil) # Set up the class-for-tag hash @class_for_tag = CLASS_FOR_TAG # Everything else is common to both kinds of parser super end