Sha256: b0a6633b13d57d5e7198ece3a3c51832bbf8210bc0c5908a9a3ced89a2b101d5
Contents?: true
Size: 852 Bytes
Versions: 1
Compression:
Stored size: 852 Bytes
Contents
require 'cutaneous/engine' require 'cutaneous/template' require 'cutaneous/loader' require 'cutaneous/context' require 'cutaneous/syntax' require 'cutaneous/lexer' require 'cutaneous/compiler' module Cutaneous VERSION = "0.1.5" class CompilationError < Exception; end class UnknownTemplateError < Exception def initialize(template_roots, relative_path) super("Template '#{relative_path}' not found under #{template_roots.inspect}") end end def self.extension "cut" end FirstPassSyntax = Cutaneous::Syntax.new({ :comment => %w(!{ }), :expression => %w(${ }), :escaped_expression => %w($${ }), :statement => %w(%{ }) }) SecondPassSyntax = Cutaneous::Syntax.new({ :comment => %w(!{ }), :expression => %w({{{ }}}), :escaped_expression => %w({{ }}), :statement => %w({% %}) }) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cutaneous-0.1.5 | lib/cutaneous.rb |