erubis 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +16 -5
- data/MIT-LICENSE +1 -1
- data/README.txt +2 -2
- data/benchmark/bench.rb +2 -2
- data/bin/erubis +4 -4
- data/contrib/erubis +3349 -5
- data/contrib/inline-require +2 -2
- data/doc-api/classes/Erubis.html +1 -1
- data/doc-api/classes/Erubis/ArrayEnhancer.html +12 -12
- data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
- data/doc-api/classes/Erubis/BiPatternEnhancer.html +12 -12
- data/doc-api/classes/Erubis/CGenerator.html +60 -60
- data/doc-api/classes/Erubis/Converter.html +27 -27
- data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +6 -6
- data/doc-api/classes/Erubis/ErboutEnhancer.html +12 -12
- data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
- data/doc-api/classes/Erubis/Evaluator.html +19 -19
- data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +12 -12
- data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +150 -150
- data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
- data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +12 -12
- data/doc-api/classes/Erubis/InterpolationEnhancer.html +30 -30
- data/doc-api/classes/Erubis/JavaGenerator.html +54 -54
- data/doc-api/classes/Erubis/JavascriptGenerator.html +60 -60
- data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
- data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
- data/doc-api/classes/Erubis/PI/Ec.html +6 -6
- data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
- data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
- data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
- data/doc-api/classes/Erubis/PI/Eruby.html +6 -6
- data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
- data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/PercentLineEnhancer.html +6 -6
- data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
- data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
- data/doc-api/classes/Erubis/PreprocessingEruby.html +12 -12
- data/doc-api/classes/Erubis/PreprocessingHelper.html +22 -22
- data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
- data/doc-api/classes/Erubis/PrintOutEnhancer.html +30 -30
- data/doc-api/classes/Erubis/RubyEvaluator.html +18 -18
- data/doc-api/classes/Erubis/RubyGenerator.html +48 -48
- data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
- data/doc-api/classes/Erubis/SimplifyEnhancer.html +7 -7
- data/doc-api/classes/Erubis/StdoutEnhancer.html +12 -12
- data/doc-api/classes/Erubis/StringBufferEnhancer.html +12 -12
- data/doc-api/classes/Erubis/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/XmlHelper.html +30 -30
- data/doc-api/created.rid +1 -1
- data/doc-api/files/README_txt.html +3 -3
- data/doc-api/files/erubis/context_rb.html +1 -1
- data/doc-api/files/erubis/converter_rb.html +1 -1
- data/doc-api/files/erubis/engine/ec_rb.html +1 -1
- data/doc-api/files/erubis/engine/ejava_rb.html +1 -1
- data/doc-api/files/erubis/engine/ejavascript_rb.html +1 -1
- data/doc-api/files/erubis/engine/enhanced_rb.html +1 -1
- data/doc-api/files/erubis/engine/eperl_rb.html +1 -1
- data/doc-api/files/erubis/engine/ephp_rb.html +1 -1
- data/doc-api/files/erubis/engine/eruby_rb.html +1 -1
- data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
- data/doc-api/files/erubis/engine/optimized_rb.html +1 -1
- data/doc-api/files/erubis/engine_rb.html +1 -1
- data/doc-api/files/erubis/enhancer_rb.html +1 -1
- data/doc-api/files/erubis/error_rb.html +1 -1
- data/doc-api/files/erubis/evaluator_rb.html +1 -1
- data/doc-api/files/erubis/generator_rb.html +1 -1
- data/doc-api/files/erubis/helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_helper_rb.html +1 -1
- data/doc-api/files/erubis/local-setting_rb.html +1 -1
- data/doc-api/files/erubis/main_rb.html +2 -2
- data/doc-api/files/erubis/preprocessing_rb.html +1 -1
- data/doc-api/files/erubis/tiny_rb.html +1 -1
- data/doc-api/files/erubis_rb.html +1 -1
- data/doc-api/fr_method_index.html +188 -188
- data/doc/users-guide.html +5 -5
- data/lib/erubis.rb +3 -3
- data/lib/erubis/context.rb +2 -2
- data/lib/erubis/converter.rb +2 -2
- data/lib/erubis/engine.rb +2 -2
- data/lib/erubis/engine/ec.rb +2 -2
- data/lib/erubis/engine/ejava.rb +2 -2
- data/lib/erubis/engine/ejavascript.rb +2 -2
- data/lib/erubis/engine/enhanced.rb +2 -2
- data/lib/erubis/engine/eperl.rb +2 -2
- data/lib/erubis/engine/ephp.rb +2 -2
- data/lib/erubis/engine/eruby.rb +2 -2
- data/lib/erubis/engine/escheme.rb +2 -2
- data/lib/erubis/engine/optimized.rb +2 -2
- data/lib/erubis/enhancer.rb +2 -2
- data/lib/erubis/error.rb +2 -2
- data/lib/erubis/evaluator.rb +2 -2
- data/lib/erubis/generator.rb +2 -2
- data/lib/erubis/helper.rb +2 -2
- data/lib/erubis/helpers/rails_form_helper.rb +2 -2
- data/lib/erubis/helpers/rails_helper.rb +2 -2
- data/lib/erubis/local-setting.rb +2 -2
- data/lib/erubis/main.rb +8 -7
- data/lib/erubis/preprocessing.rb +2 -2
- data/lib/erubis/tiny.rb +2 -2
- data/test/assert-text-equal.rb +2 -2
- data/test/data/users-guide/stderr.log +3 -0
- data/test/test-engines.rb +2 -2
- data/test/test-enhancers.rb +2 -2
- data/test/test-erubis.rb +2 -2
- data/test/test-main.rb +43 -16
- data/test/test-users-guide.rb +2 -2
- data/test/test.rb +2 -2
- data/test/testutil.rb +2 -2
- metadata +5 -10
- data/test/assert-text-equal.rbc +0 -0
- data/test/hoge.rb +0 -5
- data/test/test-engines.rbc +0 -0
- data/test/test-erubis.rbc +0 -0
- data/test/test-users-guide.rbc +0 -0
- data/test/test.rbc +0 -0
- data/test/testutil.rbc +0 -0
@@ -98,7 +98,7 @@ end
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
101
|
+
<a href="#M000054">init_converter</a>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
@@ -127,19 +127,19 @@ end
|
|
127
127
|
<div id="methods">
|
128
128
|
<h3 class="section-bar">Public Instance methods</h3>
|
129
129
|
|
130
|
-
<div id="method-
|
131
|
-
<a name="
|
130
|
+
<div id="method-M000054" class="method-detail">
|
131
|
+
<a name="M000054"></a>
|
132
132
|
|
133
133
|
<div class="method-heading">
|
134
|
-
<a href="#
|
134
|
+
<a href="#M000054" class="method-signature">
|
135
135
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div class="method-description">
|
140
140
|
<p><a class="source-toggle" href="#"
|
141
|
-
onclick="toggleCode('
|
142
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000054-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 110</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -98,7 +98,7 @@ end
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
101
|
+
<a href="#M000055">init_converter</a>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
@@ -127,19 +127,19 @@ end
|
|
127
127
|
<div id="methods">
|
128
128
|
<h3 class="section-bar">Public Instance methods</h3>
|
129
129
|
|
130
|
-
<div id="method-
|
131
|
-
<a name="
|
130
|
+
<div id="method-M000055" class="method-detail">
|
131
|
+
<a name="M000055"></a>
|
132
132
|
|
133
133
|
<div class="method-heading">
|
134
|
-
<a href="#
|
134
|
+
<a href="#M000055" class="method-signature">
|
135
135
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div class="method-description">
|
140
140
|
<p><a class="source-toggle" href="#"
|
141
|
-
onclick="toggleCode('
|
142
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000055-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File erubis/engine/ejavascript.rb, line 112</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -98,7 +98,7 @@ end
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
101
|
+
<a href="#M000053">init_converter</a>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
@@ -127,19 +127,19 @@ end
|
|
127
127
|
<div id="methods">
|
128
128
|
<h3 class="section-bar">Public Instance methods</h3>
|
129
129
|
|
130
|
-
<div id="method-
|
131
|
-
<a name="
|
130
|
+
<div id="method-M000053" class="method-detail">
|
131
|
+
<a name="M000053"></a>
|
132
132
|
|
133
133
|
<div class="method-heading">
|
134
|
-
<a href="#
|
134
|
+
<a href="#M000053" class="method-signature">
|
135
135
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div class="method-description">
|
140
140
|
<p><a class="source-toggle" href="#"
|
141
|
-
onclick="toggleCode('
|
142
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000053-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 88</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -98,7 +98,7 @@ end
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
101
|
+
<a href="#M000057">init_converter</a>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
@@ -127,19 +127,19 @@ end
|
|
127
127
|
<div id="methods">
|
128
128
|
<h3 class="section-bar">Public Instance methods</h3>
|
129
129
|
|
130
|
-
<div id="method-
|
131
|
-
<a name="
|
130
|
+
<div id="method-M000057" class="method-detail">
|
131
|
+
<a name="M000057"></a>
|
132
132
|
|
133
133
|
<div class="method-heading">
|
134
|
-
<a href="#
|
134
|
+
<a href="#M000057" class="method-signature">
|
135
135
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div class="method-description">
|
140
140
|
<p><a class="source-toggle" href="#"
|
141
|
-
onclick="toggleCode('
|
142
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000057-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 92</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -86,7 +86,7 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
89
|
+
<a href="#M000047">init_converter</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -116,19 +116,19 @@
|
|
116
116
|
<div id="methods">
|
117
117
|
<h3 class="section-bar">Public Instance methods</h3>
|
118
118
|
|
119
|
-
<div id="method-
|
120
|
-
<a name="
|
119
|
+
<div id="method-M000047" class="method-detail">
|
120
|
+
<a name="M000047"></a>
|
121
121
|
|
122
122
|
<div class="method-heading">
|
123
|
-
<a href="#
|
123
|
+
<a href="#M000047" class="method-signature">
|
124
124
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
125
125
|
</a>
|
126
126
|
</div>
|
127
127
|
|
128
128
|
<div class="method-description">
|
129
129
|
<p><a class="source-toggle" href="#"
|
130
|
-
onclick="toggleCode('
|
131
|
-
<div class="method-source-code" id="
|
130
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
131
|
+
<div class="method-source-code" id="M000047-source">
|
132
132
|
<pre>
|
133
133
|
<span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 117</span>
|
134
134
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -98,7 +98,7 @@ end
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
101
|
+
<a href="#M000056">init_converter</a>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
@@ -127,19 +127,19 @@ end
|
|
127
127
|
<div id="methods">
|
128
128
|
<h3 class="section-bar">Public Instance methods</h3>
|
129
129
|
|
130
|
-
<div id="method-
|
131
|
-
<a name="
|
130
|
+
<div id="method-M000056" class="method-detail">
|
131
|
+
<a name="M000056"></a>
|
132
132
|
|
133
133
|
<div class="method-heading">
|
134
|
-
<a href="#
|
134
|
+
<a href="#M000056" class="method-signature">
|
135
135
|
<span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div class="method-description">
|
140
140
|
<p><a class="source-toggle" href="#"
|
141
|
-
onclick="toggleCode('
|
142
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000056-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 107</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
|
@@ -86,10 +86,10 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
89
|
+
<a href="#M000050">convert</a>
|
90
|
+
<a href="#M000052">evaluate</a>
|
91
|
+
<a href="#M000049">new</a>
|
92
|
+
<a href="#M000051">result</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -137,19 +137,19 @@
|
|
137
137
|
<div id="methods">
|
138
138
|
<h3 class="section-bar">Public Class methods</h3>
|
139
139
|
|
140
|
-
<div id="method-
|
141
|
-
<a name="
|
140
|
+
<div id="method-M000049" class="method-detail">
|
141
|
+
<a name="M000049"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000049" class="method-signature">
|
145
145
|
<span class="method-name">new</span><span class="method-args">(input=nil, options={})</span>
|
146
146
|
</a>
|
147
147
|
</div>
|
148
148
|
|
149
149
|
<div class="method-description">
|
150
150
|
<p><a class="source-toggle" href="#"
|
151
|
-
onclick="toggleCode('
|
152
|
-
<div class="method-source-code" id="
|
151
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000049-source">
|
153
153
|
<pre>
|
154
154
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 81</span>
|
155
155
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">input</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -163,19 +163,19 @@
|
|
163
163
|
|
164
164
|
<h3 class="section-bar">Public Instance methods</h3>
|
165
165
|
|
166
|
-
<div id="method-
|
167
|
-
<a name="
|
166
|
+
<div id="method-M000050" class="method-detail">
|
167
|
+
<a name="M000050"></a>
|
168
168
|
|
169
169
|
<div class="method-heading">
|
170
|
-
<a href="#
|
170
|
+
<a href="#M000050" class="method-signature">
|
171
171
|
<span class="method-name">convert</span><span class="method-args">(input)</span>
|
172
172
|
</a>
|
173
173
|
</div>
|
174
174
|
|
175
175
|
<div class="method-description">
|
176
176
|
<p><a class="source-toggle" href="#"
|
177
|
-
onclick="toggleCode('
|
178
|
-
<div class="method-source-code" id="
|
177
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
178
|
+
<div class="method-source-code" id="M000050-source">
|
179
179
|
<pre>
|
180
180
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 90</span>
|
181
181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">input</span>)
|
@@ -218,19 +218,19 @@
|
|
218
218
|
</div>
|
219
219
|
</div>
|
220
220
|
|
221
|
-
<div id="method-
|
222
|
-
<a name="
|
221
|
+
<div id="method-M000052" class="method-detail">
|
222
|
+
<a name="M000052"></a>
|
223
223
|
|
224
224
|
<div class="method-heading">
|
225
|
-
<a href="#
|
225
|
+
<a href="#M000052" class="method-signature">
|
226
226
|
<span class="method-name">evaluate</span><span class="method-args">(_context=Object.new)</span>
|
227
227
|
</a>
|
228
228
|
</div>
|
229
229
|
|
230
230
|
<div class="method-description">
|
231
231
|
<p><a class="source-toggle" href="#"
|
232
|
-
onclick="toggleCode('
|
233
|
-
<div class="method-source-code" id="
|
232
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
233
|
+
<div class="method-source-code" id="M000052-source">
|
234
234
|
<pre>
|
235
235
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 134</span>
|
236
236
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">evaluate</span>(<span class="ruby-identifier">_context</span>=<span class="ruby-constant">Object</span>.<span class="ruby-identifier">new</span>)
|
@@ -246,11 +246,11 @@
|
|
246
246
|
</div>
|
247
247
|
</div>
|
248
248
|
|
249
|
-
<div id="method-
|
250
|
-
<a name="
|
249
|
+
<div id="method-M000051" class="method-detail">
|
250
|
+
<a name="M000051"></a>
|
251
251
|
|
252
252
|
<div class="method-heading">
|
253
|
-
<a href="#
|
253
|
+
<a href="#M000051" class="method-signature">
|
254
254
|
<span class="method-name">result</span><span class="method-args">(_binding=TOPLEVEL_BINDING)</span>
|
255
255
|
</a>
|
256
256
|
</div>
|
@@ -266,8 +266,8 @@ def escape_text(text)
|
|
266
266
|
end
|
267
267
|
</p>
|
268
268
|
<p><a class="source-toggle" href="#"
|
269
|
-
onclick="toggleCode('
|
270
|
-
<div class="method-source-code" id="
|
269
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
270
|
+
<div class="method-source-code" id="M000051-source">
|
271
271
|
<pre>
|
272
272
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 130</span>
|
273
273
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">result</span>(<span class="ruby-identifier">_binding</span>=<span class="ruby-constant">TOPLEVEL_BINDING</span>)
|
@@ -92,7 +92,7 @@ this is language-independent.
|
|
92
92
|
<h3 class="section-bar">Methods</h3>
|
93
93
|
|
94
94
|
<div class="name-list">
|
95
|
-
<a href="#
|
95
|
+
<a href="#M000170">add_text</a>
|
96
96
|
</div>
|
97
97
|
</div>
|
98
98
|
|
@@ -114,19 +114,19 @@ this is language-independent.
|
|
114
114
|
<div id="methods">
|
115
115
|
<h3 class="section-bar">Public Instance methods</h3>
|
116
116
|
|
117
|
-
<div id="method-
|
118
|
-
<a name="
|
117
|
+
<div id="method-M000170" class="method-detail">
|
118
|
+
<a name="M000170"></a>
|
119
119
|
|
120
120
|
<div class="method-heading">
|
121
|
-
<a href="#
|
121
|
+
<a href="#M000170" class="method-signature">
|
122
122
|
<span class="method-name">add_text</span><span class="method-args">(src, text)</span>
|
123
123
|
</a>
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div class="method-description">
|
127
127
|
<p><a class="source-toggle" href="#"
|
128
|
-
onclick="toggleCode('
|
129
|
-
<div class="method-source-code" id="
|
128
|
+
onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
|
129
|
+
<div class="method-source-code" id="M000170-source">
|
130
130
|
<pre>
|
131
131
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 450</span>
|
132
132
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_text</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">text</span>)
|
@@ -80,15 +80,15 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
84
|
-
<a href="#
|
85
|
-
<a href="#
|
86
|
-
<a href="#
|
87
|
-
<a href="#
|
88
|
-
<a href="#
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
83
|
+
<a href="#M000157">add_expr_debug</a>
|
84
|
+
<a href="#M000156">add_expr_escaped</a>
|
85
|
+
<a href="#M000155">add_expr_literal</a>
|
86
|
+
<a href="#M000159">add_postamble</a>
|
87
|
+
<a href="#M000152">add_preamble</a>
|
88
|
+
<a href="#M000158">add_stmt</a>
|
89
|
+
<a href="#M000154">add_text</a>
|
90
|
+
<a href="#M000153">escape_text</a>
|
91
|
+
<a href="#M000151">init_generator</a>
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
|
@@ -117,19 +117,19 @@
|
|
117
117
|
<div id="methods">
|
118
118
|
<h3 class="section-bar">Public Instance methods</h3>
|
119
119
|
|
120
|
-
<div id="method-
|
121
|
-
<a name="
|
120
|
+
<div id="method-M000157" class="method-detail">
|
121
|
+
<a name="M000157"></a>
|
122
122
|
|
123
123
|
<div class="method-heading">
|
124
|
-
<a href="#
|
124
|
+
<a href="#M000157" class="method-signature">
|
125
125
|
<span class="method-name">add_expr_debug</span><span class="method-args">(src, code)</span>
|
126
126
|
</a>
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div class="method-description">
|
130
130
|
<p><a class="source-toggle" href="#"
|
131
|
-
onclick="toggleCode('
|
132
|
-
<div class="method-source-code" id="
|
131
|
+
onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
|
132
|
+
<div class="method-source-code" id="M000157-source">
|
133
133
|
<pre>
|
134
134
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 50</span>
|
135
135
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_debug</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
|
@@ -142,19 +142,19 @@
|
|
142
142
|
</div>
|
143
143
|
</div>
|
144
144
|
|
145
|
-
<div id="method-
|
146
|
-
<a name="
|
145
|
+
<div id="method-M000156" class="method-detail">
|
146
|
+
<a name="M000156"></a>
|
147
147
|
|
148
148
|
<div class="method-heading">
|
149
|
-
<a href="#
|
149
|
+
<a href="#M000156" class="method-signature">
|
150
150
|
<span class="method-name">add_expr_escaped</span><span class="method-args">(src, code)</span>
|
151
151
|
</a>
|
152
152
|
</div>
|
153
153
|
|
154
154
|
<div class="method-description">
|
155
155
|
<p><a class="source-toggle" href="#"
|
156
|
-
onclick="toggleCode('
|
157
|
-
<div class="method-source-code" id="
|
156
|
+
onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
|
157
|
+
<div class="method-source-code" id="M000156-source">
|
158
158
|
<pre>
|
159
159
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 46</span>
|
160
160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_escaped</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
|
@@ -165,19 +165,19 @@
|
|
165
165
|
</div>
|
166
166
|
</div>
|
167
167
|
|
168
|
-
<div id="method-
|
169
|
-
<a name="
|
168
|
+
<div id="method-M000155" class="method-detail">
|
169
|
+
<a name="M000155"></a>
|
170
170
|
|
171
171
|
<div class="method-heading">
|
172
|
-
<a href="#
|
172
|
+
<a href="#M000155" class="method-signature">
|
173
173
|
<span class="method-name">add_expr_literal</span><span class="method-args">(src, code)</span>
|
174
174
|
</a>
|
175
175
|
</div>
|
176
176
|
|
177
177
|
<div class="method-description">
|
178
178
|
<p><a class="source-toggle" href="#"
|
179
|
-
onclick="toggleCode('
|
180
|
-
<div class="method-source-code" id="
|
179
|
+
onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
|
180
|
+
<div class="method-source-code" id="M000155-source">
|
181
181
|
<pre>
|
182
182
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 41</span>
|
183
183
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_literal</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
|
@@ -189,19 +189,19 @@
|
|
189
189
|
</div>
|
190
190
|
</div>
|
191
191
|
|
192
|
-
<div id="method-
|
193
|
-
<a name="
|
192
|
+
<div id="method-M000159" class="method-detail">
|
193
|
+
<a name="M000159"></a>
|
194
194
|
|
195
195
|
<div class="method-heading">
|
196
|
-
<a href="#
|
196
|
+
<a href="#M000159" class="method-signature">
|
197
197
|
<span class="method-name">add_postamble</span><span class="method-args">(src)</span>
|
198
198
|
</a>
|
199
199
|
</div>
|
200
200
|
|
201
201
|
<div class="method-description">
|
202
202
|
<p><a class="source-toggle" href="#"
|
203
|
-
onclick="toggleCode('
|
204
|
-
<div class="method-source-code" id="
|
203
|
+
onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
|
204
|
+
<div class="method-source-code" id="M000159-source">
|
205
205
|
<pre>
|
206
206
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 60</span>
|
207
207
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -212,19 +212,19 @@
|
|
212
212
|
</div>
|
213
213
|
</div>
|
214
214
|
|
215
|
-
<div id="method-
|
216
|
-
<a name="
|
215
|
+
<div id="method-M000152" class="method-detail">
|
216
|
+
<a name="M000152"></a>
|
217
217
|
|
218
218
|
<div class="method-heading">
|
219
|
-
<a href="#
|
219
|
+
<a href="#M000152" class="method-signature">
|
220
220
|
<span class="method-name">add_preamble</span><span class="method-args">(src)</span>
|
221
221
|
</a>
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div class="method-description">
|
225
225
|
<p><a class="source-toggle" href="#"
|
226
|
-
onclick="toggleCode('
|
227
|
-
<div class="method-source-code" id="
|
226
|
+
onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
|
227
|
+
<div class="method-source-code" id="M000152-source">
|
228
228
|
<pre>
|
229
229
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 29</span>
|
230
230
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -235,19 +235,19 @@
|
|
235
235
|
</div>
|
236
236
|
</div>
|
237
237
|
|
238
|
-
<div id="method-
|
239
|
-
<a name="
|
238
|
+
<div id="method-M000158" class="method-detail">
|
239
|
+
<a name="M000158"></a>
|
240
240
|
|
241
241
|
<div class="method-heading">
|
242
|
-
<a href="#
|
242
|
+
<a href="#M000158" class="method-signature">
|
243
243
|
<span class="method-name">add_stmt</span><span class="method-args">(src, code)</span>
|
244
244
|
</a>
|
245
245
|
</div>
|
246
246
|
|
247
247
|
<div class="method-description">
|
248
248
|
<p><a class="source-toggle" href="#"
|
249
|
-
onclick="toggleCode('
|
250
|
-
<div class="method-source-code" id="
|
249
|
+
onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
|
250
|
+
<div class="method-source-code" id="M000158-source">
|
251
251
|
<pre>
|
252
252
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 56</span>
|
253
253
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_stmt</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
|
@@ -258,19 +258,19 @@
|
|
258
258
|
</div>
|
259
259
|
</div>
|
260
260
|
|
261
|
-
<div id="method-
|
262
|
-
<a name="
|
261
|
+
<div id="method-M000154" class="method-detail">
|
262
|
+
<a name="M000154"></a>
|
263
263
|
|
264
264
|
<div class="method-heading">
|
265
|
-
<a href="#
|
265
|
+
<a href="#M000154" class="method-signature">
|
266
266
|
<span class="method-name">add_text</span><span class="method-args">(src, text)</span>
|
267
267
|
</a>
|
268
268
|
</div>
|
269
269
|
|
270
270
|
<div class="method-description">
|
271
271
|
<p><a class="source-toggle" href="#"
|
272
|
-
onclick="toggleCode('
|
273
|
-
<div class="method-source-code" id="
|
272
|
+
onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
|
273
|
+
<div class="method-source-code" id="M000154-source">
|
274
274
|
<pre>
|
275
275
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 37</span>
|
276
276
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_text</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">text</span>)
|
@@ -281,19 +281,19 @@
|
|
281
281
|
</div>
|
282
282
|
</div>
|
283
283
|
|
284
|
-
<div id="method-
|
285
|
-
<a name="
|
284
|
+
<div id="method-M000153" class="method-detail">
|
285
|
+
<a name="M000153"></a>
|
286
286
|
|
287
287
|
<div class="method-heading">
|
288
|
-
<a href="#
|
288
|
+
<a href="#M000153" class="method-signature">
|
289
289
|
<span class="method-name">escape_text</span><span class="method-args">(text)</span>
|
290
290
|
</a>
|
291
291
|
</div>
|
292
292
|
|
293
293
|
<div class="method-description">
|
294
294
|
<p><a class="source-toggle" href="#"
|
295
|
-
onclick="toggleCode('
|
296
|
-
<div class="method-source-code" id="
|
295
|
+
onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
|
296
|
+
<div class="method-source-code" id="M000153-source">
|
297
297
|
<pre>
|
298
298
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 33</span>
|
299
299
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_text</span>(<span class="ruby-identifier">text</span>)
|
@@ -304,19 +304,19 @@
|
|
304
304
|
</div>
|
305
305
|
</div>
|
306
306
|
|
307
|
-
<div id="method-
|
308
|
-
<a name="
|
307
|
+
<div id="method-M000151" class="method-detail">
|
308
|
+
<a name="M000151"></a>
|
309
309
|
|
310
310
|
<div class="method-heading">
|
311
|
-
<a href="#
|
311
|
+
<a href="#M000151" class="method-signature">
|
312
312
|
<span class="method-name">init_generator</span><span class="method-args">(properties={})</span>
|
313
313
|
</a>
|
314
314
|
</div>
|
315
315
|
|
316
316
|
<div class="method-description">
|
317
317
|
<p><a class="source-toggle" href="#"
|
318
|
-
onclick="toggleCode('
|
319
|
-
<div class="method-source-code" id="
|
318
|
+
onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
|
319
|
+
<div class="method-source-code" id="M000151-source">
|
320
320
|
<pre>
|
321
321
|
<span class="ruby-comment cmt"># File erubis/engine/eperl.rb, line 23</span>
|
322
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_generator</span>(<span class="ruby-identifier">properties</span>={})
|