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.
198 199 200 201 |
# File 'lib/toto.rb', line 198 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