class Tilt::RedClothTemplate
redcloth.org/
RedCloth implementation. See:
def self.engine_initialized?
def self.engine_initialized? defined? ::RedCloth end
def allows_script?
def allows_script? false end
def evaluate(scope, locals, &block)
def evaluate(scope, locals, &block) @output ||= @engine.to_html end
def initialize_engine
def initialize_engine require_template_library 'redcloth' end
def prepare
def prepare @engine = RedCloth.new(data) options.each {|k, v| @engine.send("#{k}=", v) if @engine.respond_to? "#{k}="} @output = nil end