Class: Arxiv::Downloader::FeedParser::AtomFeed

Inherits:
Object
  • Object
show all
Includes:
Feedjira::FeedUtilities, SAXMachine
Defined in:
lib/arxiv/downloader/feed_parser.rb

Class Method Summary collapse

Class Method Details

.able_to_parse?(xml) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/arxiv/downloader/feed_parser.rb', line 27

def self.able_to_parse? xml
  xml.include? 'http://www.w3.org/2005/Atom'
end