Class: Gollum::Macro::Icon

Inherits:
Gollum::Macro show all
Defined in:
lib/gollum-lib/macro/icon.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(icon) ⇒ Object



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

def render(icon)
  %Q(<div class="gollum-icon" data-gollum-icon="#{icon}"></div>)
end