class Tilt::WikiClothTemplate
WikiCloth implementation. See: redcloth.org/
Public Instance Methods
allows_script?()
click to toggle source
# File lib/tilt/wikicloth.rb 18 def allows_script? 19 false 20 end
evaluate(scope, locals, &block)
click to toggle source
# File lib/tilt/wikicloth.rb 14 def evaluate(scope, locals, &block) 15 @output ||= @engine.to_html 16 end
prepare()
click to toggle source
# File lib/tilt/wikicloth.rb 8 def prepare 9 @parser = options.delete(:parser) || WikiCloth::Parser 10 @engine = @parser.new options.merge(:data => data) 11 @output = nil 12 end