In Files

Files

Tilt::RedClothTemplate

RedCloth implementation. See: redcloth.org/

Public Instance Methods

evaluate(scope, locals, &block) click to toggle source
# File lib/tilt.rb, line 789
def evaluate(scope, locals, &block)
  @output ||= @engine.to_html
end
initialize_engine() click to toggle source
# File lib/tilt.rb, line 779
def initialize_engine
  return if defined? ::RedCloth
  require_template_library 'redcloth'
end
prepare() click to toggle source
# File lib/tilt.rb, line 784
def prepare
  @engine = RedCloth.new(data)
  @output = nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.