Class: Toto::Archives
Instance Method Summary collapse
- #[](a) ⇒ Object
-
#initialize(articles, config) ⇒ Archives
constructor
A new instance of Archives.
- #to_html ⇒ Object (also: #to_s)
Methods included from Template
included, #markdown, #method_missing
Constructor Details
#initialize(articles, config) ⇒ Archives
Returns a new instance of Archives.
213 214 215 216 |
# File 'lib/toto.rb', line 213 def initialize articles, config self.replace articles @config = config end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Toto::Template