Tilt::Template
RedCloth implementation. See: redcloth.org/
# File lib/sinatra/tilt.rb, line 647 def evaluate(scope, locals, &block) @output ||= @engine.to_html end
# File lib/sinatra/tilt.rb, line 637 def initialize_engine return if defined? ::RedCloth require_template_library 'redcloth' end
# File lib/sinatra/tilt.rb, line 642 def prepare @engine = RedCloth.new(data) @output = nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.