Class: Aardi::AbstractFeed
- Inherits:
-
AbstractBlog
- Object
- AbstractBlog
- Aardi::AbstractFeed
- Defined in:
- lib/aardi/abstract_feed.rb
Instance Attribute Summary
Attributes inherited from AbstractBlog
Instance Method Summary collapse
-
#initialize(posts) ⇒ AbstractFeed
constructor
A new instance of AbstractFeed.
- #render ⇒ Object
- #target_path ⇒ Object
Methods inherited from AbstractBlog
Constructor Details
#initialize(posts) ⇒ AbstractFeed
Returns a new instance of AbstractFeed.
5 6 7 |
# File 'lib/aardi/abstract_feed.rb', line 5 def initialize(posts) @posts = posts end |
Instance Method Details
#render ⇒ Object
9 10 11 |
# File 'lib/aardi/abstract_feed.rb', line 9 def render write_target end |
#target_path ⇒ Object
13 |
# File 'lib/aardi/abstract_feed.rb', line 13 def target_path = "./#{feed_file}" |