Tilt::WikiClothTemplate

WikiCloth implementation. See: redcloth.org/

Public Instance Methods

allows_script?() click to toggle source
# File lib/tilt/wikicloth.rb, line 18
def allows_script?
  false
end
evaluate(scope, locals, &block) click to toggle source
# File lib/tilt/wikicloth.rb, line 14
def evaluate(scope, locals, &block)
  @output ||= @engine.to_html
end
prepare() click to toggle source
# File lib/tilt/wikicloth.rb, line 8
def prepare
  @parser = options.delete(:parser) || WikiCloth::Parser
  @engine = @parser.new options.merge(:data => data)
  @output = nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.