class Jekyll::Minibundle::VariableTemplate

Constants

CLOSE_TAG
ESCAPE_CHAR
OPEN_TAG

Public Class Methods

compile(template) click to toggle source
   # File lib/jekyll/minibundle/variable_template.rb
15 def self.compile(template)
16   new(Generator.compile(Parser.parse(template)))
17 end
new(interpolation) click to toggle source
   # File lib/jekyll/minibundle/variable_template.rb
11 def initialize(interpolation)
12   instance_eval("def render(variables) #{interpolation} end", __FILE__, __LINE__)
13 end