Tilt::BlueClothTemplate

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

Public Class Methods

engine_initialized?() click to toggle source
     # File lib/tilt/markdown.rb, line 127
127:     def self.engine_initialized?
128:       defined? ::BlueCloth
129:     end

Public Instance Methods

evaluate(scope, locals, &block) click to toggle source
     # File lib/tilt/markdown.rb, line 140
140:     def evaluate(scope, locals, &block)
141:       @output ||= @engine.to_html
142:     end
initialize_engine() click to toggle source
     # File lib/tilt/markdown.rb, line 131
131:     def initialize_engine
132:       require_template_library 'bluecloth'
133:     end
prepare() click to toggle source
     # File lib/tilt/markdown.rb, line 135
135:     def prepare
136:       @engine = BlueCloth.new(data, options)
137:       @output = nil
138:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.