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