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.
18 19 20 21 22 23 24 |
# File 'lib/automatic/feed_maker.rb', line 18 def initialize @link = 'http://dummy' @title = 'dummy' @description = '' @author = '' @comments = '' end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
17 18 19 |
# File 'lib/automatic/feed_maker.rb', line 17 def @author end |
#comments ⇒ Object
Returns the value of attribute comments.
17 18 19 |
# File 'lib/automatic/feed_maker.rb', line 17 def comments @comments end |
#description ⇒ Object
Returns the value of attribute description.
17 18 19 |
# File 'lib/automatic/feed_maker.rb', line 17 def description @description end |
#link ⇒ Object
Returns the value of attribute link.
17 18 19 |
# File 'lib/automatic/feed_maker.rb', line 17 def link @link end |
#title ⇒ Object
Returns the value of attribute title.
17 18 19 |
# File 'lib/automatic/feed_maker.rb', line 17 def title @title end |