Class: Codgen::StaticTemplateProvider
- Inherits:
-
TemplateProvider
- Object
- TemplateProvider
- Codgen::StaticTemplateProvider
- Defined in:
- lib/codgen/template_provider.rb
Instance Method Summary collapse
Instance Method Details
#extension ⇒ Object
61 62 63 |
# File 'lib/codgen/template_provider.rb', line 61 def extension nil end |
#name ⇒ Object
57 58 59 |
# File 'lib/codgen/template_provider.rb', line 57 def name 'static' end |
#render(template, data) ⇒ Object
53 54 55 |
# File 'lib/codgen/template_provider.rb', line 53 def render(template, data) template end |