Class: TinMan::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, #method_missing, #redcloth
Constructor Details
#initialize(articles, config) ⇒ Archives
Returns a new instance of Archives.
198 199 200 201 |
# File 'lib/tinman.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 TinMan::Template