Class: Dimples::Feed
Overview
A single feed.
Instance Attribute Summary
Attributes inherited from Page
Instance Method Summary collapse
-
#initialize(site, format) ⇒ Feed
constructor
A new instance of Feed.
Methods inherited from Page
#extension, #filename, #render, #write
Constructor Details
#initialize(site, format) ⇒ Feed
Returns a new instance of Feed.
6 7 8 9 10 11 12 |
# File 'lib/dimples/feed.rb', line 6 def initialize(site, format) super(site) self.filename = 'feed' self.extension = format self.layout = "feeds.#{format}" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Dimples::Page