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
@@ -98,7 +98,7 @@ end
98
98
  <h3 class="section-bar">Methods</h3>
99
99
 
100
100
  <div class="name-list">
101
- <a href="#M000055">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000054">init_converter</a>&nbsp;&nbsp;
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-M000055" class="method-detail">
131
- <a name="M000055"></a>
130
+ <div id="method-M000054" class="method-detail">
131
+ <a name="M000054"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000055" class="method-signature">
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('M000055-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000055-source">
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="#M000047">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000055">init_converter</a>&nbsp;&nbsp;
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-M000047" class="method-detail">
131
- <a name="M000047"></a>
130
+ <div id="method-M000055" class="method-detail">
131
+ <a name="M000055"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000047" class="method-signature">
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('M000047-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000047-source">
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="#M000054">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000053">init_converter</a>&nbsp;&nbsp;
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-M000054" class="method-detail">
131
- <a name="M000054"></a>
130
+ <div id="method-M000053" class="method-detail">
131
+ <a name="M000053"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000054" class="method-signature">
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('M000054-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000054-source">
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="#M000049">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000057">init_converter</a>&nbsp;&nbsp;
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-M000049" class="method-detail">
131
- <a name="M000049"></a>
130
+ <div id="method-M000057" class="method-detail">
131
+ <a name="M000057"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000049" class="method-signature">
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('M000049-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000049-source">
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="#M000056">init_converter</a>&nbsp;&nbsp;
89
+ <a href="#M000047">init_converter</a>&nbsp;&nbsp;
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-M000056" class="method-detail">
120
- <a name="M000056"></a>
119
+ <div id="method-M000047" class="method-detail">
120
+ <a name="M000047"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="#M000056" class="method-signature">
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('M000056-source');return false;">[Source]</a></p>
131
- <div class="method-source-code" id="M000056-source">
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="#M000057">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000056">init_converter</a>&nbsp;&nbsp;
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-M000057" class="method-detail">
131
- <a name="M000057"></a>
130
+ <div id="method-M000056" class="method-detail">
131
+ <a name="M000056"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000057" class="method-signature">
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('M000057-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000057-source">
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="#M000051">convert</a>&nbsp;&nbsp;
90
- <a href="#M000053">evaluate</a>&nbsp;&nbsp;
91
- <a href="#M000050">new</a>&nbsp;&nbsp;
92
- <a href="#M000052">result</a>&nbsp;&nbsp;
89
+ <a href="#M000050">convert</a>&nbsp;&nbsp;
90
+ <a href="#M000052">evaluate</a>&nbsp;&nbsp;
91
+ <a href="#M000049">new</a>&nbsp;&nbsp;
92
+ <a href="#M000051">result</a>&nbsp;&nbsp;
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-M000050" class="method-detail">
141
- <a name="M000050"></a>
140
+ <div id="method-M000049" class="method-detail">
141
+ <a name="M000049"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000050" class="method-signature">
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('M000050-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000050-source">
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-M000051" class="method-detail">
167
- <a name="M000051"></a>
166
+ <div id="method-M000050" class="method-detail">
167
+ <a name="M000050"></a>
168
168
 
169
169
  <div class="method-heading">
170
- <a href="#M000051" class="method-signature">
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('M000051-source');return false;">[Source]</a></p>
178
- <div class="method-source-code" id="M000051-source">
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-M000053" class="method-detail">
222
- <a name="M000053"></a>
221
+ <div id="method-M000052" class="method-detail">
222
+ <a name="M000052"></a>
223
223
 
224
224
  <div class="method-heading">
225
- <a href="#M000053" class="method-signature">
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('M000053-source');return false;">[Source]</a></p>
233
- <div class="method-source-code" id="M000053-source">
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-M000052" class="method-detail">
250
- <a name="M000052"></a>
249
+ <div id="method-M000051" class="method-detail">
250
+ <a name="M000051"></a>
251
251
 
252
252
  <div class="method-heading">
253
- <a href="#M000052" class="method-signature">
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('M000052-source');return false;">[Source]</a></p>
270
- <div class="method-source-code" id="M000052-source">
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="#M000188">add_text</a>&nbsp;&nbsp;
95
+ <a href="#M000170">add_text</a>&nbsp;&nbsp;
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-M000188" class="method-detail">
118
- <a name="M000188"></a>
117
+ <div id="method-M000170" class="method-detail">
118
+ <a name="M000170"></a>
119
119
 
120
120
  <div class="method-heading">
121
- <a href="#M000188" class="method-signature">
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('M000188-source');return false;">[Source]</a></p>
129
- <div class="method-source-code" id="M000188-source">
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="#M000077">add_expr_debug</a>&nbsp;&nbsp;
84
- <a href="#M000076">add_expr_escaped</a>&nbsp;&nbsp;
85
- <a href="#M000075">add_expr_literal</a>&nbsp;&nbsp;
86
- <a href="#M000079">add_postamble</a>&nbsp;&nbsp;
87
- <a href="#M000072">add_preamble</a>&nbsp;&nbsp;
88
- <a href="#M000078">add_stmt</a>&nbsp;&nbsp;
89
- <a href="#M000074">add_text</a>&nbsp;&nbsp;
90
- <a href="#M000073">escape_text</a>&nbsp;&nbsp;
91
- <a href="#M000071">init_generator</a>&nbsp;&nbsp;
83
+ <a href="#M000157">add_expr_debug</a>&nbsp;&nbsp;
84
+ <a href="#M000156">add_expr_escaped</a>&nbsp;&nbsp;
85
+ <a href="#M000155">add_expr_literal</a>&nbsp;&nbsp;
86
+ <a href="#M000159">add_postamble</a>&nbsp;&nbsp;
87
+ <a href="#M000152">add_preamble</a>&nbsp;&nbsp;
88
+ <a href="#M000158">add_stmt</a>&nbsp;&nbsp;
89
+ <a href="#M000154">add_text</a>&nbsp;&nbsp;
90
+ <a href="#M000153">escape_text</a>&nbsp;&nbsp;
91
+ <a href="#M000151">init_generator</a>&nbsp;&nbsp;
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-M000077" class="method-detail">
121
- <a name="M000077"></a>
120
+ <div id="method-M000157" class="method-detail">
121
+ <a name="M000157"></a>
122
122
 
123
123
  <div class="method-heading">
124
- <a href="#M000077" class="method-signature">
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('M000077-source');return false;">[Source]</a></p>
132
- <div class="method-source-code" id="M000077-source">
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-M000076" class="method-detail">
146
- <a name="M000076"></a>
145
+ <div id="method-M000156" class="method-detail">
146
+ <a name="M000156"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="#M000076" class="method-signature">
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('M000076-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000076-source">
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-M000075" class="method-detail">
169
- <a name="M000075"></a>
168
+ <div id="method-M000155" class="method-detail">
169
+ <a name="M000155"></a>
170
170
 
171
171
  <div class="method-heading">
172
- <a href="#M000075" class="method-signature">
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('M000075-source');return false;">[Source]</a></p>
180
- <div class="method-source-code" id="M000075-source">
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-M000079" class="method-detail">
193
- <a name="M000079"></a>
192
+ <div id="method-M000159" class="method-detail">
193
+ <a name="M000159"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000079" class="method-signature">
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('M000079-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000079-source">
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-M000072" class="method-detail">
216
- <a name="M000072"></a>
215
+ <div id="method-M000152" class="method-detail">
216
+ <a name="M000152"></a>
217
217
 
218
218
  <div class="method-heading">
219
- <a href="#M000072" class="method-signature">
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('M000072-source');return false;">[Source]</a></p>
227
- <div class="method-source-code" id="M000072-source">
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-M000078" class="method-detail">
239
- <a name="M000078"></a>
238
+ <div id="method-M000158" class="method-detail">
239
+ <a name="M000158"></a>
240
240
 
241
241
  <div class="method-heading">
242
- <a href="#M000078" class="method-signature">
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('M000078-source');return false;">[Source]</a></p>
250
- <div class="method-source-code" id="M000078-source">
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-M000074" class="method-detail">
262
- <a name="M000074"></a>
261
+ <div id="method-M000154" class="method-detail">
262
+ <a name="M000154"></a>
263
263
 
264
264
  <div class="method-heading">
265
- <a href="#M000074" class="method-signature">
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('M000074-source');return false;">[Source]</a></p>
273
- <div class="method-source-code" id="M000074-source">
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-M000073" class="method-detail">
285
- <a name="M000073"></a>
284
+ <div id="method-M000153" class="method-detail">
285
+ <a name="M000153"></a>
286
286
 
287
287
  <div class="method-heading">
288
- <a href="#M000073" class="method-signature">
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('M000073-source');return false;">[Source]</a></p>
296
- <div class="method-source-code" id="M000073-source">
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-M000071" class="method-detail">
308
- <a name="M000071"></a>
307
+ <div id="method-M000151" class="method-detail">
308
+ <a name="M000151"></a>
309
309
 
310
310
  <div class="method-heading">
311
- <a href="#M000071" class="method-signature">
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('M000071-source');return false;">[Source]</a></p>
319
- <div class="method-source-code" id="M000071-source">
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>={})