erubis 2.6.2 → 2.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. data/CHANGES.txt +16 -5
  2. data/MIT-LICENSE +1 -1
  3. data/README.txt +2 -2
  4. data/benchmark/bench.rb +2 -2
  5. data/bin/erubis +4 -4
  6. data/contrib/erubis +3349 -5
  7. data/contrib/inline-require +2 -2
  8. data/doc-api/classes/Erubis.html +1 -1
  9. data/doc-api/classes/Erubis/ArrayEnhancer.html +12 -12
  10. data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
  11. data/doc-api/classes/Erubis/BiPatternEnhancer.html +12 -12
  12. data/doc-api/classes/Erubis/CGenerator.html +60 -60
  13. data/doc-api/classes/Erubis/Converter.html +27 -27
  14. data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +6 -6
  15. data/doc-api/classes/Erubis/ErboutEnhancer.html +12 -12
  16. data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
  17. data/doc-api/classes/Erubis/Evaluator.html +19 -19
  18. data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +12 -12
  19. data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +150 -150
  20. data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
  21. data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +12 -12
  22. data/doc-api/classes/Erubis/InterpolationEnhancer.html +30 -30
  23. data/doc-api/classes/Erubis/JavaGenerator.html +54 -54
  24. data/doc-api/classes/Erubis/JavascriptGenerator.html +60 -60
  25. data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
  26. data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
  27. data/doc-api/classes/Erubis/PI/Ec.html +6 -6
  28. data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
  29. data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
  30. data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
  31. data/doc-api/classes/Erubis/PI/Eruby.html +6 -6
  32. data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
  33. data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
  34. data/doc-api/classes/Erubis/PercentLineEnhancer.html +6 -6
  35. data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
  36. data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
  37. data/doc-api/classes/Erubis/PreprocessingEruby.html +12 -12
  38. data/doc-api/classes/Erubis/PreprocessingHelper.html +22 -22
  39. data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
  40. data/doc-api/classes/Erubis/PrintOutEnhancer.html +30 -30
  41. data/doc-api/classes/Erubis/RubyEvaluator.html +18 -18
  42. data/doc-api/classes/Erubis/RubyGenerator.html +48 -48
  43. data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
  44. data/doc-api/classes/Erubis/SimplifyEnhancer.html +7 -7
  45. data/doc-api/classes/Erubis/StdoutEnhancer.html +12 -12
  46. data/doc-api/classes/Erubis/StringBufferEnhancer.html +12 -12
  47. data/doc-api/classes/Erubis/TinyEruby.html +24 -24
  48. data/doc-api/classes/Erubis/XmlHelper.html +30 -30
  49. data/doc-api/created.rid +1 -1
  50. data/doc-api/files/README_txt.html +3 -3
  51. data/doc-api/files/erubis/context_rb.html +1 -1
  52. data/doc-api/files/erubis/converter_rb.html +1 -1
  53. data/doc-api/files/erubis/engine/ec_rb.html +1 -1
  54. data/doc-api/files/erubis/engine/ejava_rb.html +1 -1
  55. data/doc-api/files/erubis/engine/ejavascript_rb.html +1 -1
  56. data/doc-api/files/erubis/engine/enhanced_rb.html +1 -1
  57. data/doc-api/files/erubis/engine/eperl_rb.html +1 -1
  58. data/doc-api/files/erubis/engine/ephp_rb.html +1 -1
  59. data/doc-api/files/erubis/engine/eruby_rb.html +1 -1
  60. data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
  61. data/doc-api/files/erubis/engine/optimized_rb.html +1 -1
  62. data/doc-api/files/erubis/engine_rb.html +1 -1
  63. data/doc-api/files/erubis/enhancer_rb.html +1 -1
  64. data/doc-api/files/erubis/error_rb.html +1 -1
  65. data/doc-api/files/erubis/evaluator_rb.html +1 -1
  66. data/doc-api/files/erubis/generator_rb.html +1 -1
  67. data/doc-api/files/erubis/helper_rb.html +1 -1
  68. data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +1 -1
  69. data/doc-api/files/erubis/helpers/rails_helper_rb.html +1 -1
  70. data/doc-api/files/erubis/local-setting_rb.html +1 -1
  71. data/doc-api/files/erubis/main_rb.html +2 -2
  72. data/doc-api/files/erubis/preprocessing_rb.html +1 -1
  73. data/doc-api/files/erubis/tiny_rb.html +1 -1
  74. data/doc-api/files/erubis_rb.html +1 -1
  75. data/doc-api/fr_method_index.html +188 -188
  76. data/doc/users-guide.html +5 -5
  77. data/lib/erubis.rb +3 -3
  78. data/lib/erubis/context.rb +2 -2
  79. data/lib/erubis/converter.rb +2 -2
  80. data/lib/erubis/engine.rb +2 -2
  81. data/lib/erubis/engine/ec.rb +2 -2
  82. data/lib/erubis/engine/ejava.rb +2 -2
  83. data/lib/erubis/engine/ejavascript.rb +2 -2
  84. data/lib/erubis/engine/enhanced.rb +2 -2
  85. data/lib/erubis/engine/eperl.rb +2 -2
  86. data/lib/erubis/engine/ephp.rb +2 -2
  87. data/lib/erubis/engine/eruby.rb +2 -2
  88. data/lib/erubis/engine/escheme.rb +2 -2
  89. data/lib/erubis/engine/optimized.rb +2 -2
  90. data/lib/erubis/enhancer.rb +2 -2
  91. data/lib/erubis/error.rb +2 -2
  92. data/lib/erubis/evaluator.rb +2 -2
  93. data/lib/erubis/generator.rb +2 -2
  94. data/lib/erubis/helper.rb +2 -2
  95. data/lib/erubis/helpers/rails_form_helper.rb +2 -2
  96. data/lib/erubis/helpers/rails_helper.rb +2 -2
  97. data/lib/erubis/local-setting.rb +2 -2
  98. data/lib/erubis/main.rb +8 -7
  99. data/lib/erubis/preprocessing.rb +2 -2
  100. data/lib/erubis/tiny.rb +2 -2
  101. data/test/assert-text-equal.rb +2 -2
  102. data/test/data/users-guide/stderr.log +3 -0
  103. data/test/test-engines.rb +2 -2
  104. data/test/test-enhancers.rb +2 -2
  105. data/test/test-erubis.rb +2 -2
  106. data/test/test-main.rb +43 -16
  107. data/test/test-users-guide.rb +2 -2
  108. data/test/test.rb +2 -2
  109. data/test/testutil.rb +2 -2
  110. metadata +5 -10
  111. data/test/assert-text-equal.rbc +0 -0
  112. data/test/hoge.rb +0 -5
  113. data/test/test-engines.rbc +0 -0
  114. data/test/test-erubis.rbc +0 -0
  115. data/test/test-users-guide.rbc +0 -0
  116. data/test/test.rbc +0 -0
  117. data/test/testutil.rbc +0 -0
@@ -5,8 +5,8 @@
5
5
  ###
6
6
  ### usage: inline-require [-h] [-I path[,path2,..]] script
7
7
  ###
8
- ### copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
9
- ### 2.6.2
8
+ ### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
9
+ ### 2.6.3
10
10
  ### $Rev: 2 $
11
11
  ###
12
12
 
@@ -328,7 +328,7 @@ Class <a href="Erubis/XmlEruby.html" class="link">Erubis::XmlEruby</a><br />
328
328
  <tr class="top-aligned-row context-row">
329
329
  <td class="context-item-name">VERSION</td>
330
330
  <td>=</td>
331
- <td class="context-item-value">('$Release: 2.6.2 $' =~ /([.\d]+)/) &amp;&amp; $1</td>
331
+ <td class="context-item-value">('$Release: 2.6.3 $' =~ /([.\d]+)/) &amp;&amp; $1</td>
332
332
  </tr>
333
333
  </table>
334
334
  </div>
@@ -89,8 +89,8 @@ this is only for <a href="Eruby.html">Eruby</a>.
89
89
  <h3 class="section-bar">Methods</h3>
90
90
 
91
91
  <div class="name-list">
92
- <a href="#M000193">add_postamble</a>&nbsp;&nbsp;
93
- <a href="#M000192">add_preamble</a>&nbsp;&nbsp;
92
+ <a href="#M000191">add_postamble</a>&nbsp;&nbsp;
93
+ <a href="#M000190">add_preamble</a>&nbsp;&nbsp;
94
94
  </div>
95
95
  </div>
96
96
 
@@ -112,19 +112,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
112
112
  <div id="methods">
113
113
  <h3 class="section-bar">Public Instance methods</h3>
114
114
 
115
- <div id="method-M000193" class="method-detail">
116
- <a name="M000193"></a>
115
+ <div id="method-M000191" class="method-detail">
116
+ <a name="M000191"></a>
117
117
 
118
118
  <div class="method-heading">
119
- <a href="#M000193" class="method-signature">
119
+ <a href="#M000191" class="method-signature">
120
120
  <span class="method-name">add_postamble</span><span class="method-args">(src)</span>
121
121
  </a>
122
122
  </div>
123
123
 
124
124
  <div class="method-description">
125
125
  <p><a class="source-toggle" href="#"
126
- onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
127
- <div class="method-source-code" id="M000193-source">
126
+ onclick="toggleCode('M000191-source');return false;">[Source]</a></p>
127
+ <div class="method-source-code" id="M000191-source">
128
128
  <pre>
129
129
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 169</span>
130
130
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
@@ -136,19 +136,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
136
136
  </div>
137
137
  </div>
138
138
 
139
- <div id="method-M000192" class="method-detail">
140
- <a name="M000192"></a>
139
+ <div id="method-M000190" class="method-detail">
140
+ <a name="M000190"></a>
141
141
 
142
142
  <div class="method-heading">
143
- <a href="#M000192" class="method-signature">
143
+ <a href="#M000190" class="method-signature">
144
144
  <span class="method-name">add_preamble</span><span class="method-args">(src)</span>
145
145
  </a>
146
146
  </div>
147
147
 
148
148
  <div class="method-description">
149
149
  <p><a class="source-toggle" href="#"
150
- onclick="toggleCode('M000192-source');return false;">[Source]</a></p>
151
- <div class="method-source-code" id="M000192-source">
150
+ onclick="toggleCode('M000190-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000190-source">
152
152
  <pre>
153
153
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 165</span>
154
154
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
@@ -86,10 +86,10 @@ basic converter which supports &#8217;&lt;% &#8230; %&gt;&#8217; notation.
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000061">add_expr</a>&nbsp;&nbsp;
90
- <a href="#M000060">convert_input</a>&nbsp;&nbsp;
91
- <a href="#M000058">init_converter</a>&nbsp;&nbsp;
92
- <a href="#M000059">pattern_regexp</a>&nbsp;&nbsp;
89
+ <a href="#M000138">add_expr</a>&nbsp;&nbsp;
90
+ <a href="#M000137">convert_input</a>&nbsp;&nbsp;
91
+ <a href="#M000135">init_converter</a>&nbsp;&nbsp;
92
+ <a href="#M000136">pattern_regexp</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -156,11 +156,11 @@ DEFAULT_REGEXP = /&lt;%(=+|\#)?(.*?)-?%&gt;([ \t]*\r?\n)?/m
156
156
  <div id="methods">
157
157
  <h3 class="section-bar">Public Instance methods</h3>
158
158
 
159
- <div id="method-M000061" class="method-detail">
160
- <a name="M000061"></a>
159
+ <div id="method-M000138" class="method-detail">
160
+ <a name="M000138"></a>
161
161
 
162
162
  <div class="method-heading">
163
- <a href="#M000061" class="method-signature">
163
+ <a href="#M000138" class="method-signature">
164
164
  <span class="method-name">add_expr</span><span class="method-args">(src, code, indicator)</span>
165
165
  </a>
166
166
  </div>
@@ -170,8 +170,8 @@ DEFAULT_REGEXP = /&lt;%(=+|\#)?(.*?)-?%&gt;([ \t]*\r?\n)?/m
170
170
  add expression code to src
171
171
  </p>
172
172
  <p><a class="source-toggle" href="#"
173
- onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
174
- <div class="method-source-code" id="M000061-source">
173
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000138-source">
175
175
  <pre>
176
176
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 177</span>
177
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>, <span class="ruby-identifier">indicator</span>)
@@ -189,19 +189,19 @@ add expression code to src
189
189
  </div>
190
190
  </div>
191
191
 
192
- <div id="method-M000060" class="method-detail">
193
- <a name="M000060"></a>
192
+ <div id="method-M000137" class="method-detail">
193
+ <a name="M000137"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000060" class="method-signature">
196
+ <a href="#M000137" class="method-signature">
197
197
  <span class="method-name">convert_input</span><span class="method-args">(src, input)</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('M000060-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000060-source">
203
+ onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000137-source">
205
205
  <pre>
206
206
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 128</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_input</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">input</span>)
@@ -256,19 +256,19 @@ add expression code to src
256
256
  </div>
257
257
  </div>
258
258
 
259
- <div id="method-M000058" class="method-detail">
260
- <a name="M000058"></a>
259
+ <div id="method-M000135" class="method-detail">
260
+ <a name="M000135"></a>
261
261
 
262
262
  <div class="method-heading">
263
- <a href="#M000058" class="method-signature">
263
+ <a href="#M000135" class="method-signature">
264
264
  <span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
265
265
  </a>
266
266
  </div>
267
267
 
268
268
  <div class="method-description">
269
269
  <p><a class="source-toggle" href="#"
270
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
271
- <div class="method-source-code" id="M000058-source">
270
+ onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
271
+ <div class="method-source-code" id="M000135-source">
272
272
  <pre>
273
273
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 104</span>
274
274
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
@@ -283,11 +283,11 @@ add expression code to src
283
283
 
284
284
  <h3 class="section-bar">Protected Instance methods</h3>
285
285
 
286
- <div id="method-M000059" class="method-detail">
287
- <a name="M000059"></a>
286
+ <div id="method-M000136" class="method-detail">
287
+ <a name="M000136"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="#M000059" class="method-signature">
290
+ <a href="#M000136" class="method-signature">
291
291
  <span class="method-name">pattern_regexp</span><span class="method-args">(pattern)</span>
292
292
  </a>
293
293
  </div>
@@ -297,8 +297,8 @@ add expression code to src
297
297
  return regexp of pattern to parse eRuby script
298
298
  </p>
299
299
  <p><a class="source-toggle" href="#"
300
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
301
- <div class="method-source-code" id="M000059-source">
300
+ onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
301
+ <div class="method-source-code" id="M000136-source">
302
302
  <pre>
303
303
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 113</span>
304
304
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pattern_regexp</span>(<span class="ruby-identifier">pattern</span>)
@@ -119,8 +119,8 @@ this is language independent.
119
119
  <h3 class="section-bar">Methods</h3>
120
120
 
121
121
  <div class="name-list">
122
- <a href="#M000165">add_text</a>&nbsp;&nbsp;
123
- <a href="#M000164">new</a>&nbsp;&nbsp;
122
+ <a href="#M000147">add_text</a>&nbsp;&nbsp;
123
+ <a href="#M000146">new</a>&nbsp;&nbsp;
124
124
  </div>
125
125
  </div>
126
126
 
@@ -142,19 +142,19 @@ this is language independent.
142
142
  <div id="methods">
143
143
  <h3 class="section-bar">Public Class methods</h3>
144
144
 
145
- <div id="method-M000164" class="method-detail">
146
- <a name="M000164"></a>
145
+ <div id="method-M000146" class="method-detail">
146
+ <a name="M000146"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="#M000164" class="method-signature">
149
+ <a href="#M000146" class="method-signature">
150
150
  <span class="method-name">new</span><span class="method-args">(input, properties={})</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('M000164-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000164-source">
156
+ onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
157
+ <div class="method-source-code" id="M000146-source">
158
158
  <pre>
159
159
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 409</span>
160
160
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">properties</span>={})
@@ -168,19 +168,19 @@ this is language independent.
168
168
 
169
169
  <h3 class="section-bar">Public Instance methods</h3>
170
170
 
171
- <div id="method-M000165" class="method-detail">
172
- <a name="M000165"></a>
171
+ <div id="method-M000147" class="method-detail">
172
+ <a name="M000147"></a>
173
173
 
174
174
  <div class="method-heading">
175
- <a href="#M000165" class="method-signature">
175
+ <a href="#M000147" class="method-signature">
176
176
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
177
177
  </a>
178
178
  </div>
179
179
 
180
180
  <div class="method-description">
181
181
  <p><a class="source-toggle" href="#"
182
- onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
183
- <div class="method-source-code" id="M000165-source">
182
+ onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
183
+ <div class="method-source-code" id="M000147-source">
184
184
  <pre>
185
185
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 421</span>
186
186
  <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,16 +80,16 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000162">add_expr_debug</a>&nbsp;&nbsp;
84
- <a href="#M000161">add_expr_escaped</a>&nbsp;&nbsp;
85
- <a href="#M000160">add_expr_literal</a>&nbsp;&nbsp;
86
- <a href="#M000163">add_postamble</a>&nbsp;&nbsp;
87
- <a href="#M000155">add_preamble</a>&nbsp;&nbsp;
88
- <a href="#M000159">add_stmt</a>&nbsp;&nbsp;
89
- <a href="#M000158">add_text</a>&nbsp;&nbsp;
90
- <a href="#M000156">escape_text</a>&nbsp;&nbsp;
91
- <a href="#M000157">escaped_expr</a>&nbsp;&nbsp;
92
- <a href="#M000154">init_generator</a>&nbsp;&nbsp;
83
+ <a href="#M000133">add_expr_debug</a>&nbsp;&nbsp;
84
+ <a href="#M000132">add_expr_escaped</a>&nbsp;&nbsp;
85
+ <a href="#M000131">add_expr_literal</a>&nbsp;&nbsp;
86
+ <a href="#M000134">add_postamble</a>&nbsp;&nbsp;
87
+ <a href="#M000126">add_preamble</a>&nbsp;&nbsp;
88
+ <a href="#M000130">add_stmt</a>&nbsp;&nbsp;
89
+ <a href="#M000129">add_text</a>&nbsp;&nbsp;
90
+ <a href="#M000127">escape_text</a>&nbsp;&nbsp;
91
+ <a href="#M000128">escaped_expr</a>&nbsp;&nbsp;
92
+ <a href="#M000125">init_generator</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -118,19 +118,19 @@
118
118
  <div id="methods">
119
119
  <h3 class="section-bar">Public Instance methods</h3>
120
120
 
121
- <div id="method-M000162" class="method-detail">
122
- <a name="M000162"></a>
121
+ <div id="method-M000133" class="method-detail">
122
+ <a name="M000133"></a>
123
123
 
124
124
  <div class="method-heading">
125
- <a href="#M000162" class="method-signature">
125
+ <a href="#M000133" class="method-signature">
126
126
  <span class="method-name">add_expr_debug</span><span class="method-args">(src, code)</span>
127
127
  </a>
128
128
  </div>
129
129
 
130
130
  <div class="method-description">
131
131
  <p><a class="source-toggle" href="#"
132
- onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
133
- <div class="method-source-code" id="M000162-source">
132
+ onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
133
+ <div class="method-source-code" id="M000133-source">
134
134
  <pre>
135
135
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 73</span>
136
136
  <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>)
@@ -147,19 +147,19 @@
147
147
  </div>
148
148
  </div>
149
149
 
150
- <div id="method-M000161" class="method-detail">
151
- <a name="M000161"></a>
150
+ <div id="method-M000132" class="method-detail">
151
+ <a name="M000132"></a>
152
152
 
153
153
  <div class="method-heading">
154
- <a href="#M000161" class="method-signature">
154
+ <a href="#M000132" class="method-signature">
155
155
  <span class="method-name">add_expr_escaped</span><span class="method-args">(src, code)</span>
156
156
  </a>
157
157
  </div>
158
158
 
159
159
  <div class="method-description">
160
160
  <p><a class="source-toggle" href="#"
161
- onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
162
- <div class="method-source-code" id="M000161-source">
161
+ onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
162
+ <div class="method-source-code" id="M000132-source">
163
163
  <pre>
164
164
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 68</span>
165
165
  <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>)
@@ -171,19 +171,19 @@
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div id="method-M000160" class="method-detail">
175
- <a name="M000160"></a>
174
+ <div id="method-M000131" class="method-detail">
175
+ <a name="M000131"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="#M000160" class="method-signature">
178
+ <a href="#M000131" class="method-signature">
179
179
  <span class="method-name">add_expr_literal</span><span class="method-args">(src, code)</span>
180
180
  </a>
181
181
  </div>
182
182
 
183
183
  <div class="method-description">
184
184
  <p><a class="source-toggle" href="#"
185
- onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
186
- <div class="method-source-code" id="M000160-source">
185
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
186
+ <div class="method-source-code" id="M000131-source">
187
187
  <pre>
188
188
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 63</span>
189
189
  <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>)
@@ -195,19 +195,19 @@
195
195
  </div>
196
196
  </div>
197
197
 
198
- <div id="method-M000163" class="method-detail">
199
- <a name="M000163"></a>
198
+ <div id="method-M000134" class="method-detail">
199
+ <a name="M000134"></a>
200
200
 
201
201
  <div class="method-heading">
202
- <a href="#M000163" class="method-signature">
202
+ <a href="#M000134" class="method-signature">
203
203
  <span class="method-name">add_postamble</span><span class="method-args">(src)</span>
204
204
  </a>
205
205
  </div>
206
206
 
207
207
  <div class="method-description">
208
208
  <p><a class="source-toggle" href="#"
209
- onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
210
- <div class="method-source-code" id="M000163-source">
209
+ onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
210
+ <div class="method-source-code" id="M000134-source">
211
211
  <pre>
212
212
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 83</span>
213
213
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
@@ -218,19 +218,19 @@
218
218
  </div>
219
219
  </div>
220
220
 
221
- <div id="method-M000155" class="method-detail">
222
- <a name="M000155"></a>
221
+ <div id="method-M000126" class="method-detail">
222
+ <a name="M000126"></a>
223
223
 
224
224
  <div class="method-heading">
225
- <a href="#M000155" class="method-signature">
225
+ <a href="#M000126" class="method-signature">
226
226
  <span class="method-name">add_preamble</span><span class="method-args">(src)</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('M000155-source');return false;">[Source]</a></p>
233
- <div class="method-source-code" id="M000155-source">
232
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
233
+ <div class="method-source-code" id="M000126-source">
234
234
  <pre>
235
235
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 31</span>
236
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
@@ -241,19 +241,19 @@
241
241
  </div>
242
242
  </div>
243
243
 
244
- <div id="method-M000159" class="method-detail">
245
- <a name="M000159"></a>
244
+ <div id="method-M000130" class="method-detail">
245
+ <a name="M000130"></a>
246
246
 
247
247
  <div class="method-heading">
248
- <a href="#M000159" class="method-signature">
248
+ <a href="#M000130" class="method-signature">
249
249
  <span class="method-name">add_stmt</span><span class="method-args">(src, code)</span>
250
250
  </a>
251
251
  </div>
252
252
 
253
253
  <div class="method-description">
254
254
  <p><a class="source-toggle" href="#"
255
- onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
256
- <div class="method-source-code" id="M000159-source">
255
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
256
+ <div class="method-source-code" id="M000130-source">
257
257
  <pre>
258
258
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 59</span>
259
259
  <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>)
@@ -264,19 +264,19 @@
264
264
  </div>
265
265
  </div>
266
266
 
267
- <div id="method-M000158" class="method-detail">
268
- <a name="M000158"></a>
267
+ <div id="method-M000129" class="method-detail">
268
+ <a name="M000129"></a>
269
269
 
270
270
  <div class="method-heading">
271
- <a href="#M000158" class="method-signature">
271
+ <a href="#M000129" class="method-signature">
272
272
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
273
273
  </a>
274
274
  </div>
275
275
 
276
276
  <div class="method-description">
277
277
  <p><a class="source-toggle" href="#"
278
- onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
279
- <div class="method-source-code" id="M000158-source">
278
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
279
+ <div class="method-source-code" id="M000129-source">
280
280
  <pre>
281
281
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 45</span>
282
282
  <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>)
@@ -297,19 +297,19 @@
297
297
  </div>
298
298
  </div>
299
299
 
300
- <div id="method-M000156" class="method-detail">
301
- <a name="M000156"></a>
300
+ <div id="method-M000127" class="method-detail">
301
+ <a name="M000127"></a>
302
302
 
303
303
  <div class="method-heading">
304
- <a href="#M000156" class="method-signature">
304
+ <a href="#M000127" class="method-signature">
305
305
  <span class="method-name">escape_text</span><span class="method-args">(text)</span>
306
306
  </a>
307
307
  </div>
308
308
 
309
309
  <div class="method-description">
310
310
  <p><a class="source-toggle" href="#"
311
- onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
312
- <div class="method-source-code" id="M000156-source">
311
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
312
+ <div class="method-source-code" id="M000127-source">
313
313
  <pre>
314
314
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 35</span>
315
315
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_text</span>(<span class="ruby-identifier">text</span>)
@@ -322,19 +322,19 @@
322
322
  </div>
323
323
  </div>
324
324
 
325
- <div id="method-M000157" class="method-detail">
326
- <a name="M000157"></a>
325
+ <div id="method-M000128" class="method-detail">
326
+ <a name="M000128"></a>
327
327
 
328
328
  <div class="method-heading">
329
- <a href="#M000157" class="method-signature">
329
+ <a href="#M000128" class="method-signature">
330
330
  <span class="method-name">escaped_expr</span><span class="method-args">(code)</span>
331
331
  </a>
332
332
  </div>
333
333
 
334
334
  <div class="method-description">
335
335
  <p><a class="source-toggle" href="#"
336
- onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
337
- <div class="method-source-code" id="M000157-source">
336
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
337
+ <div class="method-source-code" id="M000128-source">
338
338
  <pre>
339
339
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 41</span>
340
340
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escaped_expr</span>(<span class="ruby-identifier">code</span>)
@@ -345,19 +345,19 @@
345
345
  </div>
346
346
  </div>
347
347
 
348
- <div id="method-M000154" class="method-detail">
349
- <a name="M000154"></a>
348
+ <div id="method-M000125" class="method-detail">
349
+ <a name="M000125"></a>
350
350
 
351
351
  <div class="method-heading">
352
- <a href="#M000154" class="method-signature">
352
+ <a href="#M000125" class="method-signature">
353
353
  <span class="method-name">init_generator</span><span class="method-args">(properties={})</span>
354
354
  </a>
355
355
  </div>
356
356
 
357
357
  <div class="method-description">
358
358
  <p><a class="source-toggle" href="#"
359
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
360
- <div class="method-source-code" id="M000154-source">
359
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
360
+ <div class="method-source-code" id="M000125-source">
361
361
  <pre>
362
362
  <span class="ruby-comment cmt"># File erubis/engine/ec.rb, line 24</span>
363
363
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_generator</span>(<span class="ruby-identifier">properties</span>={})