Module: FeedParser

Defined in:
lib/feedparser/tag.rb,
lib/feedparser/feed.rb,
lib/feedparser/item.rb,
lib/feedparser/author.rb,
lib/feedparser/parser.rb,
lib/feedparser/version.rb,
lib/feedparser/generator.rb,
lib/feedparser/thumbnail.rb,
lib/feedparser/attachment.rb,
lib/feedparser/builder/rss.rb,
lib/feedparser/builder/atom.rb,
lib/feedparser/builder/json.rb,
lib/feedparser/builder/microformats.rb

Defined Under Namespace

Classes: AtomFeedBuilder, Attachment, Author, Feed, Generator, HyAuthor, HyBuilder, HyEntry, HyFeed, HyFeedBuilder, Item, JsonFeedBuilder, Parser, RssFeedBuilder, Tag, Thumbnail

Constant Summary collapse

MAJOR =
2
MINOR =
2
PATCH =
0
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



15
16
17
# File 'lib/feedparser/version.rb', line 15

def self.banner
  "feedparser/#{VERSION} (with rss/#{RSS::VERSION} n json/#{JSON::VERSION}) on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.rootObject



19
20
21
# File 'lib/feedparser/version.rb', line 19

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end

.versionObject



10
11
12
# File 'lib/feedparser/version.rb', line 10

def self.version
  VERSION
end