Tilt::MarukuTemplate

Maruku markdown implementation. See: maruku.rubyforge.org/

Public Class Methods

engine_initialized?() click to toggle source
     # File lib/tilt/markdown.rb, line 148
148:     def self.engine_initialized?
149:       defined? ::Maruku
150:     end

Public Instance Methods

evaluate(scope, locals, &block) click to toggle source
     # File lib/tilt/markdown.rb, line 161
161:     def evaluate(scope, locals, &block)
162:       @output ||= @engine.to_html
163:     end
initialize_engine() click to toggle source
     # File lib/tilt/markdown.rb, line 152
152:     def initialize_engine
153:       require_template_library 'maruku'
154:     end
prepare() click to toggle source
     # File lib/tilt/markdown.rb, line 156
156:     def prepare
157:       @engine = Maruku.new(data, options)
158:       @output = nil
159:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.