Class: Toto::Repo
Constant Summary collapse
- README =
"http://github.com/%s/%s/raw/master/README.%s"
Instance Method Summary collapse
-
#initialize(name, config) ⇒ Repo
constructor
A new instance of Repo.
- #readme ⇒ Object (also: #content)
Methods included from Template
included, #markdown, #method_missing, #to_html
Constructor Details
#initialize(name, config) ⇒ Repo
Returns a new instance of Repo.
182 183 184 |
# File 'lib/toto.rb', line 182 def initialize name, config self[:name], @config = name, config end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Toto::Template