Class: Vanilla::Renderers::Bold

Inherits:
Base
  • Object
show all
Defined in:
lib/vanilla/renderers/bold.rb

Instance Attribute Summary

Attributes inherited from Base

#app

Instance Method Summary collapse

Methods inherited from Base

#default_layout_snip, escape_curly_braces, #include_snips, #initialize, #layout_for, #link_to, #parse_snip_reference, #prepare, #raw_content, render, #render, #render_missing_snip, #render_without_including_snips, snip_regexp, #soup, #url_to

Constructor Details

This class inherits a constructor from Vanilla::Renderers::Base

Instance Method Details

#process_text(content) ⇒ Object



3
4
5
# File 'lib/vanilla/renderers/bold.rb', line 3

def process_text(content)
  "<b>#{content}</b>" 
end