class FeedParser::Feed
Attributes
categories[RW]
description[RW]
description=[RW]
feed_url[RW]
format[RW]
generator[RW]
items[RW]
published[RW]
published_line[RW]
published_local[RW]
published_text[RW]
subtitle[RW]
subtitle=[RW]
summary[RW]
title[RW]
updated[RW]
updated_line[RW]
updated_local[RW]
updated_text[RW]
url[RW]
Public Class Methods
new()
click to toggle source
fix: add pretty printer/inspect (exclude object)
# File lib/feedparser/feed.rb, line 77 def initialize ## note: make items, authors, tags empty arrays on startup (e.g. not nil) @items = [] @authors = [] @tags = [] @generator = Generator.new end
Public Instance Methods
published?()
click to toggle source
# File lib/feedparser/feed.rb, line 62 def published?() @published.nil? == false; end
summary?()
click to toggle source
# File lib/feedparser/feed.rb, line 32 def summary?() @summary.nil? == false; end
Also aliased as: description?, subtitle?
updated?()
click to toggle source
# File lib/feedparser/feed.rb, line 55 def updated?() @updated.nil? == false; end