/
temple.rb
46 lines (41 loc) · 1.7 KB
/
temple.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require 'temple/version'
module Temple
autoload :InvalidExpression, 'temple/generators'
autoload :Generator, 'temple/generators'
autoload :Generators, 'temple/generators'
autoload :Engine, 'temple/engine'
autoload :Utils, 'temple/utils'
autoload :Filter, 'temple/filter'
autoload :Templates, 'temple/templates'
autoload :Grammar, 'temple/grammar'
autoload :ImmutableHash, 'temple/hash'
autoload :MutableHash, 'temple/hash'
module Mixins
autoload :Dispatcher, 'temple/mixins/dispatcher'
autoload :EngineDSL, 'temple/mixins/engine_dsl'
autoload :GrammarDSL, 'temple/mixins/grammar_dsl'
autoload :Options, 'temple/mixins/options'
autoload :DefaultOptions, 'temple/mixins/options'
autoload :Template, 'temple/mixins/template'
end
module ERB
autoload :Engine, 'temple/erb/engine'
autoload :Parser, 'temple/erb/parser'
autoload :Trimming, 'temple/erb/trimming'
end
module Filters
autoload :ControlFlow, 'temple/filters/control_flow'
autoload :MultiFlattener, 'temple/filters/multi_flattener'
autoload :StaticMerger, 'temple/filters/static_merger'
autoload :DynamicInliner, 'temple/filters/dynamic_inliner'
autoload :Escapable, 'temple/filters/escapable'
autoload :Eraser, 'temple/filters/eraser'
autoload :Validator, 'temple/filters/validator'
end
module HTML
autoload :Dispatcher, 'temple/html/dispatcher'
autoload :Filter, 'temple/html/filter'
autoload :Fast, 'temple/html/fast'
autoload :Pretty, 'temple/html/pretty'
end
end