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
@@ -89,11 +89,11 @@ 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="#M000130">add_expr_escaped</a>&nbsp;&nbsp;
93
- <a href="#M000129">add_expr_literal</a>&nbsp;&nbsp;
94
- <a href="#M000131">add_postamble</a>&nbsp;&nbsp;
95
- <a href="#M000127">add_preamble</a>&nbsp;&nbsp;
96
- <a href="#M000128">add_text</a>&nbsp;&nbsp;
92
+ <a href="#M000177">add_expr_escaped</a>&nbsp;&nbsp;
93
+ <a href="#M000176">add_expr_literal</a>&nbsp;&nbsp;
94
+ <a href="#M000178">add_postamble</a>&nbsp;&nbsp;
95
+ <a href="#M000174">add_preamble</a>&nbsp;&nbsp;
96
+ <a href="#M000175">add_text</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -115,19 +115,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
115
115
  <div id="methods">
116
116
  <h3 class="section-bar">Public Instance methods</h3>
117
117
 
118
- <div id="method-M000130" class="method-detail">
119
- <a name="M000130"></a>
118
+ <div id="method-M000177" class="method-detail">
119
+ <a name="M000177"></a>
120
120
 
121
121
  <div class="method-heading">
122
- <a href="#M000130" class="method-signature">
122
+ <a href="#M000177" class="method-signature">
123
123
  <span class="method-name">add_expr_escaped</span><span class="method-args">(src, code)</span>
124
124
  </a>
125
125
  </div>
126
126
 
127
127
  <div class="method-description">
128
128
  <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000130-source">
129
+ onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
130
+ <div class="method-source-code" id="M000177-source">
131
131
  <pre>
132
132
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 103</span>
133
133
  <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>)
@@ -138,19 +138,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
138
138
  </div>
139
139
  </div>
140
140
 
141
- <div id="method-M000129" class="method-detail">
142
- <a name="M000129"></a>
141
+ <div id="method-M000176" class="method-detail">
142
+ <a name="M000176"></a>
143
143
 
144
144
  <div class="method-heading">
145
- <a href="#M000129" class="method-signature">
145
+ <a href="#M000176" class="method-signature">
146
146
  <span class="method-name">add_expr_literal</span><span class="method-args">(src, code)</span>
147
147
  </a>
148
148
  </div>
149
149
 
150
150
  <div class="method-description">
151
151
  <p><a class="source-toggle" href="#"
152
- onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
153
- <div class="method-source-code" id="M000129-source">
152
+ onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
153
+ <div class="method-source-code" id="M000176-source">
154
154
  <pre>
155
155
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 99</span>
156
156
  <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>)
@@ -161,19 +161,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
161
161
  </div>
162
162
  </div>
163
163
 
164
- <div id="method-M000131" class="method-detail">
165
- <a name="M000131"></a>
164
+ <div id="method-M000178" class="method-detail">
165
+ <a name="M000178"></a>
166
166
 
167
167
  <div class="method-heading">
168
- <a href="#M000131" class="method-signature">
168
+ <a href="#M000178" class="method-signature">
169
169
  <span class="method-name">add_postamble</span><span class="method-args">(src)</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('M000131-source');return false;">[Source]</a></p>
176
- <div class="method-source-code" id="M000131-source">
175
+ onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
176
+ <div class="method-source-code" id="M000178-source">
177
177
  <pre>
178
178
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 107</span>
179
179
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
@@ -184,19 +184,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
184
184
  </div>
185
185
  </div>
186
186
 
187
- <div id="method-M000127" class="method-detail">
188
- <a name="M000127"></a>
187
+ <div id="method-M000174" class="method-detail">
188
+ <a name="M000174"></a>
189
189
 
190
190
  <div class="method-heading">
191
- <a href="#M000127" class="method-signature">
191
+ <a href="#M000174" class="method-signature">
192
192
  <span class="method-name">add_preamble</span><span class="method-args">(src)</span>
193
193
  </a>
194
194
  </div>
195
195
 
196
196
  <div class="method-description">
197
197
  <p><a class="source-toggle" href="#"
198
- onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
199
- <div class="method-source-code" id="M000127-source">
198
+ onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
199
+ <div class="method-source-code" id="M000174-source">
200
200
  <pre>
201
201
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 92</span>
202
202
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
@@ -206,19 +206,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
206
206
  </div>
207
207
  </div>
208
208
 
209
- <div id="method-M000128" class="method-detail">
210
- <a name="M000128"></a>
209
+ <div id="method-M000175" class="method-detail">
210
+ <a name="M000175"></a>
211
211
 
212
212
  <div class="method-heading">
213
- <a href="#M000128" class="method-signature">
213
+ <a href="#M000175" class="method-signature">
214
214
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
215
215
  </a>
216
216
  </div>
217
217
 
218
218
  <div class="method-description">
219
219
  <p><a class="source-toggle" href="#"
220
- onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
221
- <div class="method-source-code" id="M000128-source">
220
+ onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
221
+ <div class="method-source-code" id="M000175-source">
222
222
  <pre>
223
223
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 95</span>
224
224
  <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>)
@@ -86,9 +86,9 @@ evaluator for Ruby
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000197">def_method</a>&nbsp;&nbsp;
90
- <a href="#M000196">evaluate</a>&nbsp;&nbsp;
91
- <a href="#M000195">result</a>&nbsp;&nbsp;
89
+ <a href="#M000194">def_method</a>&nbsp;&nbsp;
90
+ <a href="#M000193">evaluate</a>&nbsp;&nbsp;
91
+ <a href="#M000192">result</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -117,11 +117,11 @@ evaluator for Ruby
117
117
  <div id="methods">
118
118
  <h3 class="section-bar">Public Instance methods</h3>
119
119
 
120
- <div id="method-M000197" class="method-detail">
121
- <a name="M000197"></a>
120
+ <div id="method-M000194" class="method-detail">
121
+ <a name="M000194"></a>
122
122
 
123
123
  <div class="method-heading">
124
- <a href="#M000197" class="method-signature">
124
+ <a href="#M000194" class="method-signature">
125
125
  <span class="method-name">def_method</span><span class="method-args">(object, method_name, filename=nil)</span>
126
126
  </a>
127
127
  </div>
@@ -132,8 +132,8 @@ if object is an Class or Module then define instance method to it, else
132
132
  define singleton method to it.
133
133
  </p>
134
134
  <p><a class="source-toggle" href="#"
135
- onclick="toggleCode('M000197-source');return false;">[Source]</a></p>
136
- <div class="method-source-code" id="M000197-source">
135
+ onclick="toggleCode('M000194-source');return false;">[Source]</a></p>
136
+ <div class="method-source-code" id="M000194-source">
137
137
  <pre>
138
138
  <span class="ruby-comment cmt"># File erubis/evaluator.rb, line 80</span>
139
139
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">def_method</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">filename</span>=<span class="ruby-keyword kw">nil</span>)
@@ -145,11 +145,11 @@ define singleton method to it.
145
145
  </div>
146
146
  </div>
147
147
 
148
- <div id="method-M000196" class="method-detail">
149
- <a name="M000196"></a>
148
+ <div id="method-M000193" class="method-detail">
149
+ <a name="M000193"></a>
150
150
 
151
151
  <div class="method-heading">
152
- <a href="#M000196" class="method-signature">
152
+ <a href="#M000193" class="method-signature">
153
153
  <span class="method-name">evaluate</span><span class="method-args">(_context=Context.new)</span>
154
154
  </a>
155
155
  </div>
@@ -159,8 +159,8 @@ define singleton method to it.
159
159
  invoke context.instance_eval(@src)
160
160
  </p>
161
161
  <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000196-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000196-source">
162
+ onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
163
+ <div class="method-source-code" id="M000193-source">
164
164
  <pre>
165
165
  <span class="ruby-comment cmt"># File erubis/evaluator.rb, line 70</span>
166
166
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">evaluate</span>(<span class="ruby-identifier">_context</span>=<span class="ruby-constant">Context</span>.<span class="ruby-identifier">new</span>)
@@ -175,11 +175,11 @@ invoke context.instance_eval(@src)
175
175
  </div>
176
176
  </div>
177
177
 
178
- <div id="method-M000195" class="method-detail">
179
- <a name="M000195"></a>
178
+ <div id="method-M000192" class="method-detail">
179
+ <a name="M000192"></a>
180
180
 
181
181
  <div class="method-heading">
182
- <a href="#M000195" class="method-signature">
182
+ <a href="#M000192" class="method-signature">
183
183
  <span class="method-name">result</span><span class="method-args">(_binding_or_hash=TOPLEVEL_BINDING)</span>
184
184
  </a>
185
185
  </div>
@@ -189,8 +189,8 @@ invoke context.instance_eval(@src)
189
189
  eval(@src) with binding object
190
190
  </p>
191
191
  <p><a class="source-toggle" href="#"
192
- onclick="toggleCode('M000195-source');return false;">[Source]</a></p>
193
- <div class="method-source-code" id="M000195-source">
192
+ onclick="toggleCode('M000192-source');return false;">[Source]</a></p>
193
+ <div class="method-source-code" id="M000192-source">
194
194
  <pre>
195
195
  <span class="ruby-comment cmt"># File erubis/evaluator.rb, line 54</span>
196
196
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">result</span>(<span class="ruby-identifier">_binding_or_hash</span>=<span class="ruby-constant">TOPLEVEL_BINDING</span>)
@@ -86,14 +86,14 @@ code generator for Ruby
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000043">add_expr_debug</a>&nbsp;&nbsp;
90
- <a href="#M000042">add_expr_escaped</a>&nbsp;&nbsp;
91
- <a href="#M000041">add_expr_literal</a>&nbsp;&nbsp;
92
- <a href="#M000040">add_stmt</a>&nbsp;&nbsp;
93
- <a href="#M000039">add_text</a>&nbsp;&nbsp;
94
- <a href="#M000037">escape_text</a>&nbsp;&nbsp;
95
- <a href="#M000038">escaped_expr</a>&nbsp;&nbsp;
96
- <a href="#M000036">init_generator</a>&nbsp;&nbsp;
89
+ <a href="#M000115">add_expr_debug</a>&nbsp;&nbsp;
90
+ <a href="#M000114">add_expr_escaped</a>&nbsp;&nbsp;
91
+ <a href="#M000113">add_expr_literal</a>&nbsp;&nbsp;
92
+ <a href="#M000112">add_stmt</a>&nbsp;&nbsp;
93
+ <a href="#M000111">add_text</a>&nbsp;&nbsp;
94
+ <a href="#M000109">escape_text</a>&nbsp;&nbsp;
95
+ <a href="#M000110">escaped_expr</a>&nbsp;&nbsp;
96
+ <a href="#M000108">init_generator</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -123,19 +123,19 @@ code generator for Ruby
123
123
  <div id="methods">
124
124
  <h3 class="section-bar">Public Instance methods</h3>
125
125
 
126
- <div id="method-M000043" class="method-detail">
127
- <a name="M000043"></a>
126
+ <div id="method-M000115" class="method-detail">
127
+ <a name="M000115"></a>
128
128
 
129
129
  <div class="method-heading">
130
- <a href="#M000043" class="method-signature">
130
+ <a href="#M000115" class="method-signature">
131
131
  <span class="method-name">add_expr_debug</span><span class="method-args">(src, code)</span>
132
132
  </a>
133
133
  </div>
134
134
 
135
135
  <div class="method-description">
136
136
  <p><a class="source-toggle" href="#"
137
- onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
138
- <div class="method-source-code" id="M000043-source">
137
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
138
+ <div class="method-source-code" id="M000115-source">
139
139
  <pre>
140
140
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 63</span>
141
141
  <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>)
@@ -148,19 +148,19 @@ code generator for Ruby
148
148
  </div>
149
149
  </div>
150
150
 
151
- <div id="method-M000042" class="method-detail">
152
- <a name="M000042"></a>
151
+ <div id="method-M000114" class="method-detail">
152
+ <a name="M000114"></a>
153
153
 
154
154
  <div class="method-heading">
155
- <a href="#M000042" class="method-signature">
155
+ <a href="#M000114" class="method-signature">
156
156
  <span class="method-name">add_expr_escaped</span><span class="method-args">(src, code)</span>
157
157
  </a>
158
158
  </div>
159
159
 
160
160
  <div class="method-description">
161
161
  <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000042-source">
162
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
163
+ <div class="method-source-code" id="M000114-source">
164
164
  <pre>
165
165
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 59</span>
166
166
  <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 @@ code generator for Ruby
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div id="method-M000041" class="method-detail">
175
- <a name="M000041"></a>
174
+ <div id="method-M000113" class="method-detail">
175
+ <a name="M000113"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="#M000041" class="method-signature">
178
+ <a href="#M000113" 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('M000041-source');return false;">[Source]</a></p>
186
- <div class="method-source-code" id="M000041-source">
185
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
186
+ <div class="method-source-code" id="M000113-source">
187
187
  <pre>
188
188
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 55</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>)
@@ -194,19 +194,19 @@ code generator for Ruby
194
194
  </div>
195
195
  </div>
196
196
 
197
- <div id="method-M000040" class="method-detail">
198
- <a name="M000040"></a>
197
+ <div id="method-M000112" class="method-detail">
198
+ <a name="M000112"></a>
199
199
 
200
200
  <div class="method-heading">
201
- <a href="#M000040" class="method-signature">
201
+ <a href="#M000112" class="method-signature">
202
202
  <span class="method-name">add_stmt</span><span class="method-args">(src, code)</span>
203
203
  </a>
204
204
  </div>
205
205
 
206
206
  <div class="method-description">
207
207
  <p><a class="source-toggle" href="#"
208
- onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
209
- <div class="method-source-code" id="M000040-source">
208
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
209
+ <div class="method-source-code" id="M000112-source">
210
210
  <pre>
211
211
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 49</span>
212
212
  <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>)
@@ -219,19 +219,19 @@ code generator for Ruby
219
219
  </div>
220
220
  </div>
221
221
 
222
- <div id="method-M000039" class="method-detail">
223
- <a name="M000039"></a>
222
+ <div id="method-M000111" class="method-detail">
223
+ <a name="M000111"></a>
224
224
 
225
225
  <div class="method-heading">
226
- <a href="#M000039" class="method-signature">
226
+ <a href="#M000111" class="method-signature">
227
227
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
228
228
  </a>
229
229
  </div>
230
230
 
231
231
  <div class="method-description">
232
232
  <p><a class="source-toggle" href="#"
233
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
234
- <div class="method-source-code" id="M000039-source">
233
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
234
+ <div class="method-source-code" id="M000111-source">
235
235
  <pre>
236
236
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 45</span>
237
237
  <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>)
@@ -242,19 +242,19 @@ code generator for Ruby
242
242
  </div>
243
243
  </div>
244
244
 
245
- <div id="method-M000037" class="method-detail">
246
- <a name="M000037"></a>
245
+ <div id="method-M000109" class="method-detail">
246
+ <a name="M000109"></a>
247
247
 
248
248
  <div class="method-heading">
249
- <a href="#M000037" class="method-signature">
249
+ <a href="#M000109" class="method-signature">
250
250
  <span class="method-name">escape_text</span><span class="method-args">(text)</span>
251
251
  </a>
252
252
  </div>
253
253
 
254
254
  <div class="method-description">
255
255
  <p><a class="source-toggle" href="#"
256
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
257
- <div class="method-source-code" id="M000037-source">
256
+ onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
257
+ <div class="method-source-code" id="M000109-source">
258
258
  <pre>
259
259
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 31</span>
260
260
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_text</span>(<span class="ruby-identifier">text</span>)
@@ -265,19 +265,19 @@ code generator for Ruby
265
265
  </div>
266
266
  </div>
267
267
 
268
- <div id="method-M000038" class="method-detail">
269
- <a name="M000038"></a>
268
+ <div id="method-M000110" class="method-detail">
269
+ <a name="M000110"></a>
270
270
 
271
271
  <div class="method-heading">
272
- <a href="#M000038" class="method-signature">
272
+ <a href="#M000110" class="method-signature">
273
273
  <span class="method-name">escaped_expr</span><span class="method-args">(code)</span>
274
274
  </a>
275
275
  </div>
276
276
 
277
277
  <div class="method-description">
278
278
  <p><a class="source-toggle" href="#"
279
- onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
280
- <div class="method-source-code" id="M000038-source">
279
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
280
+ <div class="method-source-code" id="M000110-source">
281
281
  <pre>
282
282
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 35</span>
283
283
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escaped_expr</span>(<span class="ruby-identifier">code</span>)
@@ -288,19 +288,19 @@ code generator for Ruby
288
288
  </div>
289
289
  </div>
290
290
 
291
- <div id="method-M000036" class="method-detail">
292
- <a name="M000036"></a>
291
+ <div id="method-M000108" class="method-detail">
292
+ <a name="M000108"></a>
293
293
 
294
294
  <div class="method-heading">
295
- <a href="#M000036" class="method-signature">
295
+ <a href="#M000108" class="method-signature">
296
296
  <span class="method-name">init_generator</span><span class="method-args">(properties={})</span>
297
297
  </a>
298
298
  </div>
299
299
 
300
300
  <div class="method-description">
301
301
  <p><a class="source-toggle" href="#"
302
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
303
- <div class="method-source-code" id="M000036-source">
302
+ onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
303
+ <div class="method-source-code" id="M000108-source">
304
304
  <pre>
305
305
  <span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 22</span>
306
306
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_generator</span>(<span class="ruby-identifier">properties</span>={})
@@ -80,16 +80,16 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000034">add_expr_debug</a>&nbsp;&nbsp;
84
- <a href="#M000033">add_expr_escaped</a>&nbsp;&nbsp;
85
- <a href="#M000032">add_expr_literal</a>&nbsp;&nbsp;
86
- <a href="#M000035">add_postamble</a>&nbsp;&nbsp;
87
- <a href="#M000027">add_preamble</a>&nbsp;&nbsp;
88
- <a href="#M000031">add_stmt</a>&nbsp;&nbsp;
89
- <a href="#M000030">add_text</a>&nbsp;&nbsp;
90
- <a href="#M000028">escape_text</a>&nbsp;&nbsp;
91
- <a href="#M000029">escaped_expr</a>&nbsp;&nbsp;
92
- <a href="#M000026">init_generator</a>&nbsp;&nbsp;
83
+ <a href="#M000042">add_expr_debug</a>&nbsp;&nbsp;
84
+ <a href="#M000041">add_expr_escaped</a>&nbsp;&nbsp;
85
+ <a href="#M000040">add_expr_literal</a>&nbsp;&nbsp;
86
+ <a href="#M000043">add_postamble</a>&nbsp;&nbsp;
87
+ <a href="#M000035">add_preamble</a>&nbsp;&nbsp;
88
+ <a href="#M000039">add_stmt</a>&nbsp;&nbsp;
89
+ <a href="#M000038">add_text</a>&nbsp;&nbsp;
90
+ <a href="#M000036">escape_text</a>&nbsp;&nbsp;
91
+ <a href="#M000037">escaped_expr</a>&nbsp;&nbsp;
92
+ <a href="#M000034">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-M000034" class="method-detail">
122
- <a name="M000034"></a>
121
+ <div id="method-M000042" class="method-detail">
122
+ <a name="M000042"></a>
123
123
 
124
124
  <div class="method-heading">
125
- <a href="#M000034" class="method-signature">
125
+ <a href="#M000042" 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('M000034-source');return false;">[Source]</a></p>
133
- <div class="method-source-code" id="M000034-source">
132
+ onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
133
+ <div class="method-source-code" id="M000042-source">
134
134
  <pre>
135
135
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 72</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>)
@@ -142,19 +142,19 @@
142
142
  </div>
143
143
  </div>
144
144
 
145
- <div id="method-M000033" class="method-detail">
146
- <a name="M000033"></a>
145
+ <div id="method-M000041" class="method-detail">
146
+ <a name="M000041"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="#M000033" class="method-signature">
149
+ <a href="#M000041" 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('M000033-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000033-source">
156
+ onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
157
+ <div class="method-source-code" id="M000041-source">
158
158
  <pre>
159
159
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 68</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-M000032" class="method-detail">
169
- <a name="M000032"></a>
168
+ <div id="method-M000040" class="method-detail">
169
+ <a name="M000040"></a>
170
170
 
171
171
  <div class="method-heading">
172
- <a href="#M000032" class="method-signature">
172
+ <a href="#M000040" 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('M000032-source');return false;">[Source]</a></p>
180
- <div class="method-source-code" id="M000032-source">
179
+ onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
180
+ <div class="method-source-code" id="M000040-source">
181
181
  <pre>
182
182
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 63</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-M000035" class="method-detail">
193
- <a name="M000035"></a>
192
+ <div id="method-M000043" class="method-detail">
193
+ <a name="M000043"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000035" class="method-signature">
196
+ <a href="#M000043" 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('M000035-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000035-source">
203
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000043-source">
205
205
  <pre>
206
206
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 77</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
@@ -214,19 +214,19 @@
214
214
  </div>
215
215
  </div>
216
216
 
217
- <div id="method-M000027" class="method-detail">
218
- <a name="M000027"></a>
217
+ <div id="method-M000035" class="method-detail">
218
+ <a name="M000035"></a>
219
219
 
220
220
  <div class="method-heading">
221
- <a href="#M000027" class="method-signature">
221
+ <a href="#M000035" class="method-signature">
222
222
  <span class="method-name">add_preamble</span><span class="method-args">(src)</span>
223
223
  </a>
224
224
  </div>
225
225
 
226
226
  <div class="method-description">
227
227
  <p><a class="source-toggle" href="#"
228
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
229
- <div class="method-source-code" id="M000027-source">
228
+ onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
229
+ <div class="method-source-code" id="M000035-source">
230
230
  <pre>
231
231
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 29</span>
232
232
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
@@ -240,19 +240,19 @@
240
240
  </div>
241
241
  </div>
242
242
 
243
- <div id="method-M000031" class="method-detail">
244
- <a name="M000031"></a>
243
+ <div id="method-M000039" class="method-detail">
244
+ <a name="M000039"></a>
245
245
 
246
246
  <div class="method-heading">
247
- <a href="#M000031" class="method-signature">
247
+ <a href="#M000039" class="method-signature">
248
248
  <span class="method-name">add_stmt</span><span class="method-args">(src, code)</span>
249
249
  </a>
250
250
  </div>
251
251
 
252
252
  <div class="method-description">
253
253
  <p><a class="source-toggle" href="#"
254
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
255
- <div class="method-source-code" id="M000031-source">
254
+ onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
255
+ <div class="method-source-code" id="M000039-source">
256
256
  <pre>
257
257
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 59</span>
258
258
  <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>)
@@ -263,19 +263,19 @@
263
263
  </div>
264
264
  </div>
265
265
 
266
- <div id="method-M000030" class="method-detail">
267
- <a name="M000030"></a>
266
+ <div id="method-M000038" class="method-detail">
267
+ <a name="M000038"></a>
268
268
 
269
269
  <div class="method-heading">
270
- <a href="#M000030" class="method-signature">
270
+ <a href="#M000038" class="method-signature">
271
271
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
272
272
  </a>
273
273
  </div>
274
274
 
275
275
  <div class="method-description">
276
276
  <p><a class="source-toggle" href="#"
277
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
278
- <div class="method-source-code" id="M000030-source">
277
+ onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
278
+ <div class="method-source-code" id="M000038-source">
279
279
  <pre>
280
280
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 48</span>
281
281
  <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>)
@@ -293,19 +293,19 @@
293
293
  </div>
294
294
  </div>
295
295
 
296
- <div id="method-M000028" class="method-detail">
297
- <a name="M000028"></a>
296
+ <div id="method-M000036" class="method-detail">
297
+ <a name="M000036"></a>
298
298
 
299
299
  <div class="method-heading">
300
- <a href="#M000028" class="method-signature">
300
+ <a href="#M000036" class="method-signature">
301
301
  <span class="method-name">escape_text</span><span class="method-args">(text)</span>
302
302
  </a>
303
303
  </div>
304
304
 
305
305
  <div class="method-description">
306
306
  <p><a class="source-toggle" href="#"
307
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
308
- <div class="method-source-code" id="M000028-source">
307
+ onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
308
+ <div class="method-source-code" id="M000036-source">
309
309
  <pre>
310
310
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 37</span>
311
311
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_text</span>(<span class="ruby-identifier">text</span>)
@@ -318,19 +318,19 @@
318
318
  </div>
319
319
  </div>
320
320
 
321
- <div id="method-M000029" class="method-detail">
322
- <a name="M000029"></a>
321
+ <div id="method-M000037" class="method-detail">
322
+ <a name="M000037"></a>
323
323
 
324
324
  <div class="method-heading">
325
- <a href="#M000029" class="method-signature">
325
+ <a href="#M000037" class="method-signature">
326
326
  <span class="method-name">escaped_expr</span><span class="method-args">(code)</span>
327
327
  </a>
328
328
  </div>
329
329
 
330
330
  <div class="method-description">
331
331
  <p><a class="source-toggle" href="#"
332
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
333
- <div class="method-source-code" id="M000029-source">
332
+ onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
333
+ <div class="method-source-code" id="M000037-source">
334
334
  <pre>
335
335
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 43</span>
336
336
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escaped_expr</span>(<span class="ruby-identifier">code</span>)
@@ -342,19 +342,19 @@
342
342
  </div>
343
343
  </div>
344
344
 
345
- <div id="method-M000026" class="method-detail">
346
- <a name="M000026"></a>
345
+ <div id="method-M000034" class="method-detail">
346
+ <a name="M000034"></a>
347
347
 
348
348
  <div class="method-heading">
349
- <a href="#M000026" class="method-signature">
349
+ <a href="#M000034" class="method-signature">
350
350
  <span class="method-name">init_generator</span><span class="method-args">(properties={})</span>
351
351
  </a>
352
352
  </div>
353
353
 
354
354
  <div class="method-description">
355
355
  <p><a class="source-toggle" href="#"
356
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
357
- <div class="method-source-code" id="M000026-source">
356
+ onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
357
+ <div class="method-source-code" id="M000034-source">
358
358
  <pre>
359
359
  <span class="ruby-comment cmt"># File erubis/engine/escheme.rb, line 23</span>
360
360
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_generator</span>(<span class="ruby-identifier">properties</span>={})