Class: YYFeed::FeedItem
- Inherits:
-
Object
- Object
- YYFeed::FeedItem
- Defined in:
- lib/YYFeed.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ FeedItem
constructor
A new instance of FeedItem.
Constructor Details
#initialize ⇒ FeedItem
Returns a new instance of FeedItem.
7 8 9 10 |
# File 'lib/YYFeed.rb', line 7 def initialize @title = nil @date = nil end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
5 6 7 |
# File 'lib/YYFeed.rb', line 5 def date @date end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/YYFeed.rb', line 5 def title @title end |