Class: YYFeed::FeedItem

Inherits:
Object
  • Object
show all
Defined in:
lib/YYFeed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFeedItem

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

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/YYFeed.rb', line 5

def date
  @date
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/YYFeed.rb', line 5

def title
  @title
end