Class: Templette::Engines::Erb
- Inherits:
-
Object
- Object
- Templette::Engines::Erb
- Defined in:
- lib/templette/engines/erb.rb
Instance Method Summary collapse
Instance Method Details
#render(html, the_binding) ⇒ Object
5 6 7 |
# File 'lib/templette/engines/erb.rb', line 5 def render(html, the_binding) ERB.new(html, 0, "%<>").result(the_binding) end |