Class: Vanilla::Renderers::Raw

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

Instance Attribute Summary

Attributes inherited from Base

#app

Instance Method Summary collapse

Methods inherited from Base

escape_curly_braces, #include_snips, #initialize, #prepare, #process_text, #raw_content, render, #render_without_including_snips, snip_regexp

Constructor Details

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

Instance Method Details

#render(snip, part = :content) ⇒ Object



5
6
7
# File 'lib/vanilla/renderers/raw.rb', line 5

def render(snip, part=:content)
  raw_content(snip, part)
end