Class: ERBNoteRenderer
- Inherits:
-
NoteRenderer
- Object
- NoteRenderer
- ERBNoteRenderer
- Defined in:
- public/app/models/note_renderer.rb
Instance Method Summary collapse
Methods inherited from NoteRenderer
#build_label, for, inherited, #render_partial
Methods included from ManipulateNode
#inheritance, #process_mixed_content, #strip_mixed_content
Instance Method Details
#render(type, note, result) ⇒ Object
109 110 111 112 113 |
# File 'public/app/models/note_renderer.rb', line 109 def render(type, note, result) result['label'] = build_label(type, note) result['note_text'] = render_partial(type, :locals => {:note => note}) result end |