Class: Gollum::Macro::Note

Inherits:
Gollum::Macro show all
Defined in:
lib/gollum-lib/macro/note.rb

Instance Method Summary collapse

Methods inherited from Gollum::Macro

#initialize, instance

Constructor Details

This class inherits a constructor from Gollum::Macro

Instance Method Details

#render(notice) ⇒ Object



4
5
6
# File 'lib/gollum-lib/macro/note.rb', line 4

def render(notice)
  %Q(<div class="flash gollum-note my-2">#{notice}</div>)
end