class Tilt::WikiClothTemplate
WikiCloth implementation. See: redcloth.org/
Public Class Methods
          engine_initialized?()
          
          click to toggle source
          
        
        
        # File lib/tilt/wiki.rb, line 36 def self.engine_initialized? defined? ::WikiCloth::Parser end
Public Instance Methods
          allows_script?()
          
          click to toggle source
          
        
        
        # File lib/tilt/wiki.rb, line 54 def allows_script? false end
          evaluate(scope, locals, &block)
          
          click to toggle source
          
        
        
        # File lib/tilt/wiki.rb, line 50 def evaluate(scope, locals, &block) @output ||= @engine.to_html end
          initialize_engine()
          
          click to toggle source
          
        
        
        # File lib/tilt/wiki.rb, line 40 def initialize_engine require_template_library 'wikicloth' end
          prepare()
          
          click to toggle source
          
        
        
        # File lib/tilt/wiki.rb, line 44 def prepare @parser = options.delete(:parser) || WikiCloth::Parser @engine = @parser.new options.merge(:data => data) @output = nil end