Class: FeedUtils::Feed
- Inherits:
-
Object
- Object
- FeedUtils::Feed
- Defined in:
- lib/feedutils/feed.rb
Instance Attribute Summary collapse
-
#built ⇒ Object
Returns the value of attribute built.
-
#format ⇒ Object
attr_accessor :object # not use for now.
-
#generator ⇒ Object
Returns the value of attribute generator.
-
#generator_uri ⇒ Object
e.g.
-
#generator_version ⇒ Object
e.g.
-
#items ⇒ Object
Returns the value of attribute items.
-
#published ⇒ Object
Returns the value of attribute published.
-
#summary ⇒ Object
e.g.
-
#summary_type ⇒ Object
e.g.
-
#title ⇒ Object
Returns the value of attribute title.
-
#title2 ⇒ Object
e.g.
-
#title2_type ⇒ Object
e.g.
-
#title_type ⇒ Object
e.g.
-
#updated ⇒ Object
Returns the value of attribute updated.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#built ⇒ Object
Returns the value of attribute built.
28 29 30 |
# File 'lib/feedutils/feed.rb', line 28 def built @built end |
#format ⇒ Object
attr_accessor :object # not use for now
6 7 8 |
# File 'lib/feedutils/feed.rb', line 6 def format @format end |
#generator ⇒ Object
Returns the value of attribute generator.
30 31 32 |
# File 'lib/feedutils/feed.rb', line 30 def generator @generator end |
#generator_uri ⇒ Object
e.g. @uri (atom) - use alias url/link ???
32 33 34 |
# File 'lib/feedutils/feed.rb', line 32 def generator_uri @generator_uri end |
#generator_version ⇒ Object
e.g. @version (atom)
31 32 33 |
# File 'lib/feedutils/feed.rb', line 31 def generator_version @generator_version end |
#items ⇒ Object
Returns the value of attribute items.
11 12 13 |
# File 'lib/feedutils/feed.rb', line 11 def items @items end |
#published ⇒ Object
Returns the value of attribute published.
22 23 24 |
# File 'lib/feedutils/feed.rb', line 22 def published @published end |
#summary ⇒ Object
e.g. description (rss)
14 15 16 |
# File 'lib/feedutils/feed.rb', line 14 def summary @summary end |
#summary_type ⇒ Object
e.g. text|html|html-escaped
15 16 17 |
# File 'lib/feedutils/feed.rb', line 15 def summary_type @summary_type end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'lib/feedutils/feed.rb', line 7 def title @title end |
#title2 ⇒ Object
e.g. subtitle (atom)
18 19 20 |
# File 'lib/feedutils/feed.rb', line 18 def title2 @title2 end |
#title2_type ⇒ Object
e.g. text|html|html-escaped
19 20 21 |
# File 'lib/feedutils/feed.rb', line 19 def title2_type @title2_type end |
#title_type ⇒ Object
e.g. text|html|html-escaped (optional) -use - why?? why not??
8 9 10 |
# File 'lib/feedutils/feed.rb', line 8 def title_type @title_type end |
#updated ⇒ Object
Returns the value of attribute updated.
25 26 27 |
# File 'lib/feedutils/feed.rb', line 25 def updated @updated end |
#url ⇒ Object
Returns the value of attribute url.
9 10 11 |
# File 'lib/feedutils/feed.rb', line 9 def url @url end |
Instance Method Details
#built? ⇒ Boolean
27 |
# File 'lib/feedutils/feed.rb', line 27 def built?() @built.nil? == false; end |
#published? ⇒ Boolean
21 |
# File 'lib/feedutils/feed.rb', line 21 def published?() @published.nil? == false; end |
#summary? ⇒ Boolean
13 |
# File 'lib/feedutils/feed.rb', line 13 def summary?() @summary.nil? == false; end |
#title2? ⇒ Boolean
17 |
# File 'lib/feedutils/feed.rb', line 17 def title2?() @title2.nil? == false; end |
#updated? ⇒ Boolean
24 |
# File 'lib/feedutils/feed.rb', line 24 def updated?() @updated.nil? == false; end |