Class: Gollum::Macro::Icon
- Inherits:
-
Gollum::Macro
- Object
- Gollum::Macro
- Gollum::Macro::Icon
- Defined in:
- lib/gollum-lib/macro/icon.rb
Instance Method Summary collapse
Methods inherited from Gollum::Macro
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 |