Class: Engines::Markdown

Inherits:
AbstractEngine show all
Defined in:
app/models/chunks/engines.rb

Instance Attribute Summary

Attributes inherited from Chunk::Abstract

#text, #unmask_mode, #unmask_text

Instance Method Summary collapse

Methods inherited from AbstractEngine

apply_to

Methods inherited from Chunk::Abstract

apply_to, #escaped?, #id, inherited, #initialize, mask_re, mask_string, #rendered?, #revert, #unmask

Instance Method Details

#maskObject



39
40
41
# File 'app/models/chunks/engines.rb', line 39

def mask
  BlueCloth.new(@content, @content.options[:engine_opts]).to_html
end