Class: FeedParser::HyEntry
- Inherits:
-
Object
- Object
- FeedParser::HyEntry
- Defined in:
- lib/feedparser/builder/microformats.rb
Instance Attribute Summary collapse
-
#authors ⇒ Object
note: allow multiple authors.
-
#content ⇒ Object
(also: #content_html)
Returns the value of attribute content.
-
#content_text ⇒ Object
Returns the value of attribute content_text.
-
#name ⇒ Object
(also: #title)
Returns the value of attribute name.
-
#published ⇒ Object
utc time.
-
#published_local ⇒ Object
local time (with timezone/offset).
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ HyEntry
constructor
A new instance of HyEntry.
Constructor Details
#initialize ⇒ HyEntry
Returns a new instance of HyEntry.
122 123 124 |
# File 'lib/feedparser/builder/microformats.rb', line 122 def initialize @authors = [] end |
Instance Attribute Details
#authors ⇒ Object
note: allow multiple authors
112 113 114 |
# File 'lib/feedparser/builder/microformats.rb', line 112 def @authors end |
#content ⇒ Object Also known as: content_html
Returns the value of attribute content.
104 105 106 |
# File 'lib/feedparser/builder/microformats.rb', line 104 def content @content end |
#content_text ⇒ Object
Returns the value of attribute content_text.
105 106 107 |
# File 'lib/feedparser/builder/microformats.rb', line 105 def content_text @content_text end |
#name ⇒ Object Also known as: title
Returns the value of attribute name.
103 104 105 |
# File 'lib/feedparser/builder/microformats.rb', line 103 def name @name end |
#published ⇒ Object
utc time
108 109 110 |
# File 'lib/feedparser/builder/microformats.rb', line 108 def published @published end |
#published_local ⇒ Object
local time (with timezone/offset)
109 110 111 |
# File 'lib/feedparser/builder/microformats.rb', line 109 def published_local @published_local end |
#summary ⇒ Object
Returns the value of attribute summary.
106 107 108 |
# File 'lib/feedparser/builder/microformats.rb', line 106 def summary @summary end |
#url ⇒ Object
Returns the value of attribute url.
110 111 112 |
# File 'lib/feedparser/builder/microformats.rb', line 110 def url @url end |