Class: Vita::Renderer

Inherits:
Object
  • Object
show all
Defined in:
lib/vita/renderer.rb

Instance Method Summary collapse

Instance Method Details

#render_html(note) ⇒ Object



6
7
8
9
# File 'lib/vita/renderer.rb', line 6

def render_html(note)
  context = RenderingContext.new(note)
  template.result(context.get_binding)
end