Class: Fed::Feed::Base
- Inherits:
-
Object
- Object
- Fed::Feed::Base
- Defined in:
- lib/fed/feed/base.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#document ⇒ Object
readonly
Returns the value of attribute document.
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
-
#guid ⇒ Object
readonly
Returns the value of attribute guid.
-
#link ⇒ Object
readonly
Returns the value of attribute link.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(doc) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(doc) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/fed/feed/base.rb', line 6 def initialize(doc) @document = doc end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def description @description end |
#document ⇒ Object (readonly)
Returns the value of attribute document.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def document @document end |
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def entries @entries end |
#guid ⇒ Object (readonly)
Returns the value of attribute guid.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def guid @guid end |
#link ⇒ Object (readonly)
Returns the value of attribute link.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def link @link end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def title @title end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated.
4 5 6 |
# File 'lib/fed/feed/base.rb', line 4 def updated @updated end |