Class: Codgen::StaticTemplateProvider

Inherits:
TemplateProvider show all
Defined in:
lib/codgen/template_provider.rb

Instance Method Summary collapse

Instance Method Details

#extensionObject



61
62
63
# File 'lib/codgen/template_provider.rb', line 61

def extension
  nil
end

#nameObject



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