Class: Automatic::FeedMaker::FeedObject
- Inherits:
-
Object
- Object
- Automatic::FeedMaker::FeedObject
- Defined in:
- lib/automatic/feed_maker.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#link ⇒ Object
Returns the value of attribute link.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ FeedObject
constructor
A new instance of FeedObject.
Constructor Details
#initialize ⇒ FeedObject
Returns a new instance of FeedObject.
17 18 19 20 21 22 23 |
# File 'lib/automatic/feed_maker.rb', line 17 def initialize @link = 'http://dummy' @title = 'dummy' @description = '' @author = '' @comments = '' end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
16 17 18 |
# File 'lib/automatic/feed_maker.rb', line 16 def @author end |
#comments ⇒ Object
Returns the value of attribute comments.
16 17 18 |
# File 'lib/automatic/feed_maker.rb', line 16 def comments @comments end |
#description ⇒ Object
Returns the value of attribute description.
16 17 18 |
# File 'lib/automatic/feed_maker.rb', line 16 def description @description end |
#link ⇒ Object
Returns the value of attribute link.
16 17 18 |
# File 'lib/automatic/feed_maker.rb', line 16 def link @link end |
#title ⇒ Object
Returns the value of attribute title.
16 17 18 |
# File 'lib/automatic/feed_maker.rb', line 16 def title @title end |