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.
217 218 219 220 |
# File 'lib/toto.rb', line 217 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