Class: Codgen::TemplateProvider
- Inherits:
-
Object
- Object
- Codgen::TemplateProvider
- Defined in:
- lib/codgen/template_provider.rb
Direct Known Subclasses
HandleBarsTemplateProvider, MustacheTemplateProvider, StaticTemplateProvider
Instance Method Summary collapse
- #extension ⇒ Object
- #name ⇒ Object
-
#render(template, data) ⇒ String
: The filled template.
Instance Method Details
#extension ⇒ Object
17 18 19 |
# File 'lib/codgen/template_provider.rb', line 17 def extension throw 'Not Implemented' end |
#name ⇒ Object
13 14 15 |
# File 'lib/codgen/template_provider.rb', line 13 def name throw 'Not Implemented' end |
#render(template, data) ⇒ String
Returns : The filled template.
9 10 11 |
# File 'lib/codgen/template_provider.rb', line 9 def render(template, data) throw 'Not Implemented' end |