erubis 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. data/CHANGES +120 -3
  2. data/README.txt +1 -1
  3. data/benchmark/Makefile +6 -0
  4. data/benchmark/bench.rb +306 -0
  5. data/benchmark/{erubybench.yaml → bench_context.yaml} +20 -20
  6. data/benchmark/templates/_footer.html +4 -0
  7. data/benchmark/{erubybench.rhtml → templates/_header.html} +1 -34
  8. data/benchmark/templates/bench_erb.rhtml +29 -0
  9. data/benchmark/templates/bench_erubis.rhtml +29 -0
  10. data/benchmark/templates/bench_eruby.rhtml +29 -0
  11. data/bin/erubis +2 -2
  12. data/contrib/erubis +3 -3114
  13. data/contrib/erubis-run.rb +132 -0
  14. data/contrib/inline-require +1 -1
  15. data/doc-api/classes/{ERB.html → ActionView/Base/ERB.html} +3 -3
  16. data/doc-api/classes/Erubis.html +8 -1
  17. data/doc-api/classes/Erubis/ArrayEnhancer.html +12 -12
  18. data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
  19. data/doc-api/classes/Erubis/BiPatternEnhancer.html +14 -14
  20. data/doc-api/classes/Erubis/CGenerator.html +60 -60
  21. data/doc-api/classes/Erubis/Context.html +42 -42
  22. data/doc-api/classes/Erubis/Converter.html +27 -27
  23. data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
  24. data/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
  25. data/doc-api/classes/Erubis/Engine.html +31 -31
  26. data/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
  27. data/doc-api/classes/Erubis/ErboutEruby.html +120 -0
  28. data/doc-api/classes/Erubis/Eruby.html +5 -0
  29. data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
  30. data/doc-api/classes/Erubis/Evaluator.html +19 -19
  31. data/doc-api/classes/Erubis/FastEruby.html +131 -0
  32. data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +14 -14
  33. data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -45
  34. data/doc-api/classes/Erubis/InterpolationEnhancer.html +304 -0
  35. data/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
  36. data/doc-api/classes/Erubis/JavaGenerator.html +54 -54
  37. data/doc-api/classes/Erubis/JavascriptGenerator.html +60 -60
  38. data/doc-api/classes/Erubis/Main.html +35 -27
  39. data/doc-api/classes/Erubis/NoCodeEnhancer.html +5 -5
  40. data/doc-api/classes/Erubis/NoTextEnhancer.html +7 -7
  41. data/doc-api/classes/Erubis/OptimizedEruby.html +6 -6
  42. data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
  43. data/doc-api/classes/Erubis/OptimizedXmlEruby.html +6 -6
  44. data/doc-api/classes/Erubis/PI/Converter.html +18 -18
  45. data/doc-api/classes/Erubis/PI/Ec.html +6 -6
  46. data/doc-api/classes/Erubis/PI/Ejava.html +6 -6
  47. data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
  48. data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
  49. data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
  50. data/doc-api/classes/Erubis/PI/Eruby.html +7 -7
  51. data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
  52. data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
  53. data/doc-api/classes/Erubis/PercentLineEnhancer.html +8 -8
  54. data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
  55. data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
  56. data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
  57. data/doc-api/classes/Erubis/PrintOutEnhancer.html +30 -30
  58. data/doc-api/classes/Erubis/RubyEvaluator.html +12 -12
  59. data/doc-api/classes/Erubis/RubyGenerator.html +48 -48
  60. data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
  61. data/doc-api/classes/Erubis/SimplifyEnhancer.html +8 -8
  62. data/doc-api/classes/Erubis/StdoutEnhancer.html +12 -12
  63. data/doc-api/classes/Erubis/StringBufferEnhancer.html +12 -12
  64. data/doc-api/classes/Erubis/TinyEruby.html +24 -24
  65. data/doc-api/classes/Erubis/XmlHelper.html +14 -14
  66. data/doc-api/created.rid +1 -1
  67. data/doc-api/files/README_txt.html +4 -4
  68. data/doc-api/files/erubis/context_rb.html +2 -2
  69. data/doc-api/files/erubis/converter_rb.html +2 -2
  70. data/doc-api/files/erubis/engine/ec_rb.html +2 -2
  71. data/doc-api/files/erubis/engine/ejava_rb.html +2 -2
  72. data/doc-api/files/erubis/engine/ejavascript_rb.html +2 -2
  73. data/doc-api/files/erubis/engine/enhanced_rb.html +2 -2
  74. data/doc-api/files/erubis/engine/eperl_rb.html +2 -2
  75. data/doc-api/files/erubis/engine/ephp_rb.html +2 -2
  76. data/doc-api/files/erubis/engine/eruby_rb.html +2 -2
  77. data/doc-api/files/erubis/engine/escheme_rb.html +2 -2
  78. data/doc-api/files/erubis/engine/optimized_rb.html +2 -2
  79. data/doc-api/files/erubis/engine_rb.html +2 -2
  80. data/doc-api/files/erubis/enhancer_rb.html +2 -2
  81. data/doc-api/files/erubis/error_rb.html +2 -2
  82. data/doc-api/files/erubis/evaluator_rb.html +2 -2
  83. data/doc-api/files/erubis/generator_rb.html +2 -2
  84. data/doc-api/files/erubis/helper_rb.html +2 -2
  85. data/doc-api/files/erubis/helpers/rails_helper_rb.html +2 -2
  86. data/doc-api/files/erubis/local-setting_rb.html +2 -2
  87. data/doc-api/files/erubis/main_rb.html +2 -2
  88. data/doc-api/files/erubis/tiny_rb.html +2 -2
  89. data/doc-api/files/erubis_rb.html +1 -1
  90. data/doc-api/fr_class_index.html +8 -1
  91. data/doc-api/fr_method_index.html +166 -158
  92. data/doc/users-guide.html +623 -215
  93. data/lib/erubis.rb +2 -2
  94. data/lib/erubis/context.rb +2 -2
  95. data/lib/erubis/converter.rb +2 -2
  96. data/lib/erubis/engine.rb +3 -3
  97. data/lib/erubis/engine/ec.rb +2 -2
  98. data/lib/erubis/engine/ejava.rb +2 -2
  99. data/lib/erubis/engine/ejavascript.rb +2 -2
  100. data/lib/erubis/engine/enhanced.rb +17 -2
  101. data/lib/erubis/engine/eperl.rb +2 -2
  102. data/lib/erubis/engine/ephp.rb +2 -2
  103. data/lib/erubis/engine/eruby.rb +10 -2
  104. data/lib/erubis/engine/escheme.rb +2 -2
  105. data/lib/erubis/engine/optimized.rb +2 -2
  106. data/lib/erubis/enhancer.rb +134 -25
  107. data/lib/erubis/error.rb +2 -2
  108. data/lib/erubis/evaluator.rb +2 -2
  109. data/lib/erubis/generator.rb +2 -2
  110. data/lib/erubis/helper.rb +2 -2
  111. data/lib/erubis/helpers/rails_helper.rb +19 -75
  112. data/lib/erubis/local-setting.rb +2 -2
  113. data/lib/erubis/main.rb +63 -36
  114. data/lib/erubis/tiny.rb +2 -2
  115. data/test/assert-text-equal.rb +2 -2
  116. data/test/data/users-guide/Example.ejava +55 -0
  117. data/test/data/users-guide/array_example.result +9 -0
  118. data/test/data/users-guide/arraybuffer_example.result +9 -0
  119. data/test/data/users-guide/bipattern-example.rhtml +4 -0
  120. data/test/data/users-guide/bipattern_example.result +6 -0
  121. data/test/data/users-guide/context.rb +6 -0
  122. data/test/data/users-guide/context.yaml +8 -0
  123. data/test/data/users-guide/escape_example.result +9 -0
  124. data/test/data/users-guide/example.ec +27 -0
  125. data/test/data/users-guide/example.ejs +20 -0
  126. data/test/data/users-guide/example.eperl +18 -0
  127. data/test/data/users-guide/example.ephp +18 -0
  128. data/test/data/users-guide/example.eruby +6 -0
  129. data/test/data/users-guide/example.escheme +28 -0
  130. data/test/data/users-guide/example1.eruby +6 -0
  131. data/test/data/users-guide/example1.rb +16 -0
  132. data/test/data/users-guide/example1.result +16 -0
  133. data/test/data/users-guide/example10.rb +4 -0
  134. data/test/data/users-guide/example10.result +17 -0
  135. data/test/data/users-guide/example10.xhtml +14 -0
  136. data/test/data/users-guide/example10_x.result +17 -0
  137. data/test/data/users-guide/example11.php +20 -0
  138. data/test/data/users-guide/example11.result +23 -0
  139. data/test/data/users-guide/example11.rhtml +21 -0
  140. data/test/data/users-guide/example11_C.result +10 -0
  141. data/test/data/users-guide/example11_N.result +16 -0
  142. data/test/data/users-guide/example11_U.result +16 -0
  143. data/test/data/users-guide/example11_php.result +15 -0
  144. data/test/data/users-guide/example1_x.result +9 -0
  145. data/test/data/users-guide/example2.eruby +7 -0
  146. data/test/data/users-guide/example2.rb +10 -0
  147. data/test/data/users-guide/example2.result +27 -0
  148. data/test/data/users-guide/example2_trim.result +10 -0
  149. data/test/data/users-guide/example2_x.result +10 -0
  150. data/test/data/users-guide/example3.eruby +6 -0
  151. data/test/data/users-guide/example3.rb +10 -0
  152. data/test/data/users-guide/example31.result +22 -0
  153. data/test/data/users-guide/example32.result +4 -0
  154. data/test/data/users-guide/example3_e.result +8 -0
  155. data/test/data/users-guide/example4.eruby +3 -0
  156. data/test/data/users-guide/example4.rb +11 -0
  157. data/test/data/users-guide/example4.result +10 -0
  158. data/test/data/users-guide/example4_x.result +5 -0
  159. data/test/data/users-guide/example5.eruby +6 -0
  160. data/test/data/users-guide/example5.rb +16 -0
  161. data/test/data/users-guide/example5.result +7 -0
  162. data/test/data/users-guide/example6.rb +12 -0
  163. data/test/data/users-guide/example6.result +7 -0
  164. data/test/data/users-guide/example7.eruby +8 -0
  165. data/test/data/users-guide/example71.result +13 -0
  166. data/test/data/users-guide/example72.result +13 -0
  167. data/test/data/users-guide/example8.eruby +6 -0
  168. data/test/data/users-guide/example8_ruby.result +7 -0
  169. data/test/data/users-guide/example8_yaml.result +7 -0
  170. data/test/data/users-guide/example9.eruby +3 -0
  171. data/test/data/users-guide/example9.rb +8 -0
  172. data/test/data/users-guide/example9.result +9 -0
  173. data/test/data/users-guide/example91.result +5 -0
  174. data/test/data/users-guide/example92.result +4 -0
  175. data/test/data/users-guide/example_c.result +29 -0
  176. data/test/data/users-guide/example_java.result +56 -0
  177. data/test/data/users-guide/example_js.result +22 -0
  178. data/test/data/users-guide/example_perl.result +20 -0
  179. data/test/data/users-guide/example_php.result +19 -0
  180. data/test/data/users-guide/example_scheme.result +30 -0
  181. data/test/data/users-guide/example_scheme_display.result +29 -0
  182. data/test/data/users-guide/fasteruby.rb +11 -0
  183. data/test/data/users-guide/fasteruby.result +38 -0
  184. data/test/data/users-guide/fasteruby.rhtml +15 -0
  185. data/test/data/users-guide/headerfooter-example.eruby +9 -0
  186. data/test/data/users-guide/headerfooter-example2.rb +8 -0
  187. data/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  188. data/test/data/users-guide/headerfooter_example.result +11 -0
  189. data/test/data/users-guide/headerfooter_example2.result +13 -0
  190. data/test/data/users-guide/interpolation_example.result +9 -0
  191. data/test/data/users-guide/nocode-example.eruby +14 -0
  192. data/test/data/users-guide/nocode-php.result +20 -0
  193. data/test/data/users-guide/nocode_example.result +15 -0
  194. data/test/data/users-guide/normal-eruby-test.eruby +9 -0
  195. data/test/data/users-guide/normal_eruby_test.result +11 -0
  196. data/test/data/users-guide/notext-example.eruby +14 -0
  197. data/test/data/users-guide/notext-example.php +19 -0
  198. data/test/data/users-guide/notext-php.result +20 -0
  199. data/test/data/users-guide/notext_example.result +16 -0
  200. data/test/data/users-guide/percentline-example.rhtml +4 -0
  201. data/test/data/users-guide/percentline_example.result +7 -0
  202. data/test/data/users-guide/printenable_example.result +4 -0
  203. data/test/data/users-guide/printenabled-example.eruby +3 -0
  204. data/test/data/users-guide/printenabled-example.rb +8 -0
  205. data/test/data/users-guide/printstatement_example.result +8 -0
  206. data/test/data/users-guide/simplify_example.result +9 -0
  207. data/test/data/users-guide/stdout_exmple.result +9 -0
  208. data/test/data/users-guide/stringbuffer_example.result +9 -0
  209. data/test/test-engines.rb +2 -2
  210. data/test/test-enhancers.rb +569 -0
  211. data/test/test-erubis.rb +3 -380
  212. data/test/test-main.rb +39 -15
  213. data/test/test-users-guide.rb +56 -0
  214. data/test/test.rb +4 -3
  215. data/test/testutil.rb +2 -2
  216. metadata +166 -57
  217. data/benchmark/erubybench-lib.rb +0 -189
  218. data/benchmark/erubybench.rb +0 -600
  219. data/bin/notext +0 -154
  220. data/test/test-notext.rb +0 -27
@@ -95,7 +95,7 @@ code
95
95
  <h3 class="section-bar">Methods</h3>
96
96
 
97
97
  <div class="name-list">
98
- <a href="#M000173">add_expr_debug</a>&nbsp;&nbsp;
98
+ <a href="#M000181">add_expr_debug</a>&nbsp;&nbsp;
99
99
  </div>
100
100
  </div>
101
101
 
@@ -124,19 +124,19 @@ code
124
124
  <div id="methods">
125
125
  <h3 class="section-bar">Public Instance methods</h3>
126
126
 
127
- <div id="method-M000173" class="method-detail">
128
- <a name="M000173"></a>
127
+ <div id="method-M000181" class="method-detail">
128
+ <a name="M000181"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="#M000173" class="method-signature">
131
+ <a href="#M000181" class="method-signature">
132
132
  <span class="method-name">add_expr_debug</span><span class="method-args">(src, code)</span>
133
133
  </a>
134
134
  </div>
135
135
 
136
136
  <div class="method-description">
137
137
  <p><a class="source-toggle" href="#"
138
- onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
139
- <div class="method-source-code" id="M000173-source">
138
+ onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
139
+ <div class="method-source-code" id="M000181-source">
140
140
  <pre>
141
141
  <span class="ruby-comment cmt"># File erubis/engine/optimized.rb, line 121</span>
142
142
  <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>)
@@ -88,9 +88,9 @@ this class converts &#8217;&lt;?rb &#8230; ?&gt;&#8217; and
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000038">convert</a>&nbsp;&nbsp;
92
- <a href="#M000039">convert_input</a>&nbsp;&nbsp;
93
- <a href="#M000037">init_converter</a>&nbsp;&nbsp;
91
+ <a href="#M000043">convert</a>&nbsp;&nbsp;
92
+ <a href="#M000044">convert_input</a>&nbsp;&nbsp;
93
+ <a href="#M000042">init_converter</a>&nbsp;&nbsp;
94
94
  </div>
95
95
  </div>
96
96
 
@@ -137,19 +137,19 @@ this class converts &#8217;&lt;?rb &#8230; ?&gt;&#8217; and
137
137
  <div id="methods">
138
138
  <h3 class="section-bar">Public Instance methods</h3>
139
139
 
140
- <div id="method-M000038" class="method-detail">
141
- <a name="M000038"></a>
140
+ <div id="method-M000043" class="method-detail">
141
+ <a name="M000043"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000038" class="method-signature">
144
+ <a href="#M000043" class="method-signature">
145
145
  <span class="method-name">convert</span><span class="method-args">(input)</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('M000038-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000038-source">
151
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000043-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 219</span>
155
155
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">input</span>)
@@ -161,19 +161,19 @@ this class converts &#8217;&lt;?rb &#8230; ?&gt;&#8217; and
161
161
  </div>
162
162
  </div>
163
163
 
164
- <div id="method-M000037" class="method-detail">
165
- <a name="M000037"></a>
164
+ <div id="method-M000042" class="method-detail">
165
+ <a name="M000042"></a>
166
166
 
167
167
  <div class="method-heading">
168
- <a href="#M000037" class="method-signature">
168
+ <a href="#M000042" class="method-signature">
169
169
  <span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
170
170
  </a>
171
171
  </div>
172
172
 
173
173
  <div class="method-description">
174
174
  <p><a class="source-toggle" href="#"
175
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
176
- <div class="method-source-code" id="M000037-source">
175
+ onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
176
+ <div class="method-source-code" id="M000042-source">
177
177
  <pre>
178
178
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 210</span>
179
179
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
@@ -191,19 +191,19 @@ this class converts &#8217;&lt;?rb &#8230; ?&gt;&#8217; and
191
191
 
192
192
  <h3 class="section-bar">Protected Instance methods</h3>
193
193
 
194
- <div id="method-M000039" class="method-detail">
195
- <a name="M000039"></a>
194
+ <div id="method-M000044" class="method-detail">
195
+ <a name="M000044"></a>
196
196
 
197
197
  <div class="method-heading">
198
- <a href="#M000039" class="method-signature">
198
+ <a href="#M000044" class="method-signature">
199
199
  <span class="method-name">convert_input</span><span class="method-args">(codebuf, input)</span>
200
200
  </a>
201
201
  </div>
202
202
 
203
203
  <div class="method-description">
204
204
  <p><a class="source-toggle" href="#"
205
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
206
- <div class="method-source-code" id="M000039-source">
205
+ onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
206
+ <div class="method-source-code" id="M000044-source">
207
207
  <pre>
208
208
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 226</span>
209
209
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_input</span>(<span class="ruby-identifier">codebuf</span>, <span class="ruby-identifier">input</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="#M000048">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-M000048" class="method-detail">
131
- <a name="M000048"></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="#M000048" 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('M000048-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000048-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/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="#M000041">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000046">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-M000041" class="method-detail">
131
- <a name="M000041"></a>
130
+ <div id="method-M000046" class="method-detail">
131
+ <a name="M000046"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000041" class="method-signature">
134
+ <a href="#M000046" 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('M000041-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000041-source">
141
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000046-source">
143
143
  <pre>
144
144
  <span class="ruby-comment cmt"># File erubis/engine/ejava.rb, line 104</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="#M000040">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000045">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-M000040" class="method-detail">
131
- <a name="M000040"></a>
130
+ <div id="method-M000045" class="method-detail">
131
+ <a name="M000045"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000040" class="method-signature">
134
+ <a href="#M000045" 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('M000040-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000040-source">
141
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000045-source">
143
143
  <pre>
144
144
  <span class="ruby-comment cmt"># File erubis/engine/ejavascript.rb, line 106</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="#M000052">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-M000052" class="method-detail">
131
+ <a name="M000052"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000047" class="method-signature">
134
+ <a href="#M000052" 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('M000052-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000052-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="#M000042">init_converter</a>&nbsp;&nbsp;
101
+ <a href="#M000047">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-M000042" class="method-detail">
131
- <a name="M000042"></a>
130
+ <div id="method-M000047" class="method-detail">
131
+ <a name="M000047"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000042" class="method-signature">
134
+ <a href="#M000047" 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('M000042-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000042-source">
141
+ onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000047-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="#M000049">init_converter</a>&nbsp;&nbsp;
89
+ <a href="#M000054">init_converter</a>&nbsp;&nbsp;
90
90
  </div>
91
91
  </div>
92
92
 
@@ -116,21 +116,21 @@
116
116
  <div id="methods">
117
117
  <h3 class="section-bar">Public Instance methods</h3>
118
118
 
119
- <div id="method-M000049" class="method-detail">
120
- <a name="M000049"></a>
119
+ <div id="method-M000054" class="method-detail">
120
+ <a name="M000054"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="#M000049" class="method-signature">
123
+ <a href="#M000054" 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('M000049-source');return false;">[Source]</a></p>
131
- <div class="method-source-code" id="M000049-source">
130
+ onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
131
+ <div class="method-source-code" id="M000054-source">
132
132
  <pre>
133
- <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 109</span>
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>={})
135
135
  <span class="ruby-ivar">@pi</span> = <span class="ruby-value str">'rb'</span>
136
136
  <span class="ruby-keyword kw">super</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="#M000050">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-M000050" class="method-detail">
131
- <a name="M000050"></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="#M000050" 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('M000050-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000050-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/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="#M000044">convert</a>&nbsp;&nbsp;
90
- <a href="#M000046">evaluate</a>&nbsp;&nbsp;
91
- <a href="#M000043">new</a>&nbsp;&nbsp;
92
- <a href="#M000045">result</a>&nbsp;&nbsp;
89
+ <a href="#M000049">convert</a>&nbsp;&nbsp;
90
+ <a href="#M000051">evaluate</a>&nbsp;&nbsp;
91
+ <a href="#M000048">new</a>&nbsp;&nbsp;
92
+ <a href="#M000050">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-M000043" class="method-detail">
141
- <a name="M000043"></a>
140
+ <div id="method-M000048" class="method-detail">
141
+ <a name="M000048"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000043" class="method-signature">
144
+ <a href="#M000048" 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('M000043-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000043-source">
151
+ onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000048-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File erubis/tiny.rb, line 80</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-M000044" class="method-detail">
167
- <a name="M000044"></a>
166
+ <div id="method-M000049" class="method-detail">
167
+ <a name="M000049"></a>
168
168
 
169
169
  <div class="method-heading">
170
- <a href="#M000044" class="method-signature">
170
+ <a href="#M000049" 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('M000044-source');return false;">[Source]</a></p>
178
- <div class="method-source-code" id="M000044-source">
177
+ onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
178
+ <div class="method-source-code" id="M000049-source">
179
179
  <pre>
180
180
  <span class="ruby-comment cmt"># File erubis/tiny.rb, line 89</span>
181
181
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">input</span>)
@@ -217,19 +217,19 @@
217
217
  </div>
218
218
  </div>
219
219
 
220
- <div id="method-M000046" class="method-detail">
221
- <a name="M000046"></a>
220
+ <div id="method-M000051" class="method-detail">
221
+ <a name="M000051"></a>
222
222
 
223
223
  <div class="method-heading">
224
- <a href="#M000046" class="method-signature">
224
+ <a href="#M000051" class="method-signature">
225
225
  <span class="method-name">evaluate</span><span class="method-args">(_context=Object.new)</span>
226
226
  </a>
227
227
  </div>
228
228
 
229
229
  <div class="method-description">
230
230
  <p><a class="source-toggle" href="#"
231
- onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
232
- <div class="method-source-code" id="M000046-source">
231
+ onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
232
+ <div class="method-source-code" id="M000051-source">
233
233
  <pre>
234
234
  <span class="ruby-comment cmt"># File erubis/tiny.rb, line 132</span>
235
235
  <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>)
@@ -245,11 +245,11 @@
245
245
  </div>
246
246
  </div>
247
247
 
248
- <div id="method-M000045" class="method-detail">
249
- <a name="M000045"></a>
248
+ <div id="method-M000050" class="method-detail">
249
+ <a name="M000050"></a>
250
250
 
251
251
  <div class="method-heading">
252
- <a href="#M000045" class="method-signature">
252
+ <a href="#M000050" class="method-signature">
253
253
  <span class="method-name">result</span><span class="method-args">(_binding=TOPLEVEL_BINDING)</span>
254
254
  </a>
255
255
  </div>
@@ -265,8 +265,8 @@ def escape_text(text)
265
265
  end
266
266
  </p>
267
267
  <p><a class="source-toggle" href="#"
268
- onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
269
- <div class="method-source-code" id="M000045-source">
268
+ onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
269
+ <div class="method-source-code" id="M000050-source">
270
270
  <pre>
271
271
  <span class="ruby-comment cmt"># File erubis/tiny.rb, line 128</span>
272
272
  <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>)