Class: Tilt::RedcarpetTemplate
- Inherits:
-
Object
- Object
- Tilt::RedcarpetTemplate
- Defined in:
- lib/gmd/redcarpet_template_fix.rb
Overview
Fix for redcarpet
Instance Method Summary collapse
Instance Method Details
#prepare ⇒ Object
6 7 8 9 |
# File 'lib/gmd/redcarpet_template_fix.rb', line 6 def prepare klass = [Redcarpet2, Redcarpet1].detect { |e| e.engine_initialized? } @engine = klass.new(file, line, ) { data } end |