In Files

Files

Tilt::BlueClothTemplate

BlueCloth Markdown implementation. See: deveiate.org/projects/BlueCloth/

RDiscount is a simple text filter. It does not support scope or locals. The :smartypants and :escape_html options may be set true to enable those flags on the underlying BlueCloth object.

Public Instance Methods

evaluate(scope, locals, &block) click to toggle source
# File lib/tilt.rb, line 770
def evaluate(scope, locals, &block)
  @output ||= @engine.to_html
end
initialize_engine() click to toggle source
# File lib/tilt.rb, line 760
def initialize_engine
  return if defined? ::BlueCloth
  require_template_library 'bluecloth'
end
prepare() click to toggle source
# File lib/tilt.rb, line 765
def prepare
  @engine = BlueCloth.new(data, options)
  @output = nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.