erubis 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +16 -5
- data/MIT-LICENSE +1 -1
- data/README.txt +2 -2
- data/benchmark/bench.rb +2 -2
- data/bin/erubis +4 -4
- data/contrib/erubis +3349 -5
- data/contrib/inline-require +2 -2
- data/doc-api/classes/Erubis.html +1 -1
- data/doc-api/classes/Erubis/ArrayEnhancer.html +12 -12
- data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
- data/doc-api/classes/Erubis/BiPatternEnhancer.html +12 -12
- data/doc-api/classes/Erubis/CGenerator.html +60 -60
- data/doc-api/classes/Erubis/Converter.html +27 -27
- data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +6 -6
- data/doc-api/classes/Erubis/ErboutEnhancer.html +12 -12
- data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
- data/doc-api/classes/Erubis/Evaluator.html +19 -19
- data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +12 -12
- data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +150 -150
- data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
- data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +12 -12
- data/doc-api/classes/Erubis/InterpolationEnhancer.html +30 -30
- data/doc-api/classes/Erubis/JavaGenerator.html +54 -54
- data/doc-api/classes/Erubis/JavascriptGenerator.html +60 -60
- data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
- data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
- data/doc-api/classes/Erubis/PI/Ec.html +6 -6
- data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
- data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
- data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
- data/doc-api/classes/Erubis/PI/Eruby.html +6 -6
- data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
- data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/PercentLineEnhancer.html +6 -6
- data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
- data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
- data/doc-api/classes/Erubis/PreprocessingEruby.html +12 -12
- data/doc-api/classes/Erubis/PreprocessingHelper.html +22 -22
- data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
- data/doc-api/classes/Erubis/PrintOutEnhancer.html +30 -30
- data/doc-api/classes/Erubis/RubyEvaluator.html +18 -18
- data/doc-api/classes/Erubis/RubyGenerator.html +48 -48
- data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
- data/doc-api/classes/Erubis/SimplifyEnhancer.html +7 -7
- data/doc-api/classes/Erubis/StdoutEnhancer.html +12 -12
- data/doc-api/classes/Erubis/StringBufferEnhancer.html +12 -12
- data/doc-api/classes/Erubis/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/XmlHelper.html +30 -30
- data/doc-api/created.rid +1 -1
- data/doc-api/files/README_txt.html +3 -3
- data/doc-api/files/erubis/context_rb.html +1 -1
- data/doc-api/files/erubis/converter_rb.html +1 -1
- data/doc-api/files/erubis/engine/ec_rb.html +1 -1
- data/doc-api/files/erubis/engine/ejava_rb.html +1 -1
- data/doc-api/files/erubis/engine/ejavascript_rb.html +1 -1
- data/doc-api/files/erubis/engine/enhanced_rb.html +1 -1
- data/doc-api/files/erubis/engine/eperl_rb.html +1 -1
- data/doc-api/files/erubis/engine/ephp_rb.html +1 -1
- data/doc-api/files/erubis/engine/eruby_rb.html +1 -1
- data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
- data/doc-api/files/erubis/engine/optimized_rb.html +1 -1
- data/doc-api/files/erubis/engine_rb.html +1 -1
- data/doc-api/files/erubis/enhancer_rb.html +1 -1
- data/doc-api/files/erubis/error_rb.html +1 -1
- data/doc-api/files/erubis/evaluator_rb.html +1 -1
- data/doc-api/files/erubis/generator_rb.html +1 -1
- data/doc-api/files/erubis/helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_helper_rb.html +1 -1
- data/doc-api/files/erubis/local-setting_rb.html +1 -1
- data/doc-api/files/erubis/main_rb.html +2 -2
- data/doc-api/files/erubis/preprocessing_rb.html +1 -1
- data/doc-api/files/erubis/tiny_rb.html +1 -1
- data/doc-api/files/erubis_rb.html +1 -1
- data/doc-api/fr_method_index.html +188 -188
- data/doc/users-guide.html +5 -5
- data/lib/erubis.rb +3 -3
- data/lib/erubis/context.rb +2 -2
- data/lib/erubis/converter.rb +2 -2
- data/lib/erubis/engine.rb +2 -2
- data/lib/erubis/engine/ec.rb +2 -2
- data/lib/erubis/engine/ejava.rb +2 -2
- data/lib/erubis/engine/ejavascript.rb +2 -2
- data/lib/erubis/engine/enhanced.rb +2 -2
- data/lib/erubis/engine/eperl.rb +2 -2
- data/lib/erubis/engine/ephp.rb +2 -2
- data/lib/erubis/engine/eruby.rb +2 -2
- data/lib/erubis/engine/escheme.rb +2 -2
- data/lib/erubis/engine/optimized.rb +2 -2
- data/lib/erubis/enhancer.rb +2 -2
- data/lib/erubis/error.rb +2 -2
- data/lib/erubis/evaluator.rb +2 -2
- data/lib/erubis/generator.rb +2 -2
- data/lib/erubis/helper.rb +2 -2
- data/lib/erubis/helpers/rails_form_helper.rb +2 -2
- data/lib/erubis/helpers/rails_helper.rb +2 -2
- data/lib/erubis/local-setting.rb +2 -2
- data/lib/erubis/main.rb +8 -7
- data/lib/erubis/preprocessing.rb +2 -2
- data/lib/erubis/tiny.rb +2 -2
- data/test/assert-text-equal.rb +2 -2
- data/test/data/users-guide/stderr.log +3 -0
- data/test/test-engines.rb +2 -2
- data/test/test-enhancers.rb +2 -2
- data/test/test-erubis.rb +2 -2
- data/test/test-main.rb +43 -16
- data/test/test-users-guide.rb +2 -2
- data/test/test.rb +2 -2
- data/test/testutil.rb +2 -2
- metadata +5 -10
- data/test/assert-text-equal.rbc +0 -0
- data/test/hoge.rb +0 -5
- data/test/test-engines.rbc +0 -0
- data/test/test-erubis.rbc +0 -0
- data/test/test-users-guide.rbc +0 -0
- data/test/test.rbc +0 -0
- data/test/testutil.rbc +0 -0
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
<div id="description">
|
76
76
|
<p>
|
77
|
-
get <a href="SimplifyEnhancer.html#
|
77
|
+
get <a href="SimplifyEnhancer.html#M000058">convert</a> faster, but spaces
|
78
78
|
around ’<%…%>’ are not trimmed.
|
79
79
|
</p>
|
80
80
|
<p>
|
@@ -90,7 +90,7 @@ this is language-independent.
|
|
90
90
|
<h3 class="section-bar">Methods</h3>
|
91
91
|
|
92
92
|
<div class="name-list">
|
93
|
-
<a href="#
|
93
|
+
<a href="#M000058">convert</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -130,19 +130,19 @@ DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m
|
|
130
130
|
<div id="methods">
|
131
131
|
<h3 class="section-bar">Public Instance methods</h3>
|
132
132
|
|
133
|
-
<div id="method-
|
134
|
-
<a name="
|
133
|
+
<div id="method-M000058" class="method-detail">
|
134
|
+
<a name="M000058"></a>
|
135
135
|
|
136
136
|
<div class="method-heading">
|
137
|
-
<a href="#
|
137
|
+
<a href="#M000058" class="method-signature">
|
138
138
|
<span class="method-name">convert</span><span class="method-args">(input)</span>
|
139
139
|
</a>
|
140
140
|
</div>
|
141
141
|
|
142
142
|
<div class="method-description">
|
143
143
|
<p><a class="source-toggle" href="#"
|
144
|
-
onclick="toggleCode('
|
145
|
-
<div class="method-source-code" id="
|
144
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
145
|
+
<div class="method-source-code" id="M000058-source">
|
146
146
|
<pre>
|
147
147
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 343</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">input</span>)
|
@@ -89,8 +89,8 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
89
89
|
<h3 class="section-bar">Methods</h3>
|
90
90
|
|
91
91
|
<div class="name-list">
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
92
|
+
<a href="#M000060">add_postamble</a>
|
93
|
+
<a href="#M000059">add_preamble</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -112,19 +112,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
112
112
|
<div id="methods">
|
113
113
|
<h3 class="section-bar">Public Instance methods</h3>
|
114
114
|
|
115
|
-
<div id="method-
|
116
|
-
<a name="
|
115
|
+
<div id="method-M000060" class="method-detail">
|
116
|
+
<a name="M000060"></a>
|
117
117
|
|
118
118
|
<div class="method-heading">
|
119
|
-
<a href="#
|
119
|
+
<a href="#M000060" class="method-signature">
|
120
120
|
<span class="method-name">add_postamble</span><span class="method-args">(src)</span>
|
121
121
|
</a>
|
122
122
|
</div>
|
123
123
|
|
124
124
|
<div class="method-description">
|
125
125
|
<p><a class="source-toggle" href="#"
|
126
|
-
onclick="toggleCode('
|
127
|
-
<div class="method-source-code" id="
|
126
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
127
|
+
<div class="method-source-code" id="M000060-source">
|
128
128
|
<pre>
|
129
129
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 74</span>
|
130
130
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -135,19 +135,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
135
135
|
</div>
|
136
136
|
</div>
|
137
137
|
|
138
|
-
<div id="method-
|
139
|
-
<a name="
|
138
|
+
<div id="method-M000059" class="method-detail">
|
139
|
+
<a name="M000059"></a>
|
140
140
|
|
141
141
|
<div class="method-heading">
|
142
|
-
<a href="#
|
142
|
+
<a href="#M000059" class="method-signature">
|
143
143
|
<span class="method-name">add_preamble</span><span class="method-args">(src)</span>
|
144
144
|
</a>
|
145
145
|
</div>
|
146
146
|
|
147
147
|
<div class="method-description">
|
148
148
|
<p><a class="source-toggle" href="#"
|
149
|
-
onclick="toggleCode('
|
150
|
-
<div class="method-source-code" id="
|
149
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
150
|
+
<div class="method-source-code" id="M000059-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 70</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -89,8 +89,8 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
89
89
|
<h3 class="section-bar">Methods</h3>
|
90
90
|
|
91
91
|
<div class="name-list">
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
92
|
+
<a href="#M000021">add_postamble</a>
|
93
|
+
<a href="#M000020">add_preamble</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -112,19 +112,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
112
112
|
<div id="methods">
|
113
113
|
<h3 class="section-bar">Public Instance methods</h3>
|
114
114
|
|
115
|
-
<div id="method-
|
116
|
-
<a name="
|
115
|
+
<div id="method-M000021" class="method-detail">
|
116
|
+
<a name="M000021"></a>
|
117
117
|
|
118
118
|
<div class="method-heading">
|
119
|
-
<a href="#
|
119
|
+
<a href="#M000021" class="method-signature">
|
120
120
|
<span class="method-name">add_postamble</span><span class="method-args">(src)</span>
|
121
121
|
</a>
|
122
122
|
</div>
|
123
123
|
|
124
124
|
<div class="method-description">
|
125
125
|
<p><a class="source-toggle" href="#"
|
126
|
-
onclick="toggleCode('
|
127
|
-
<div class="method-source-code" id="
|
126
|
+
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
127
|
+
<div class="method-source-code" id="M000021-source">
|
128
128
|
<pre>
|
129
129
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 215</span>
|
130
130
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -136,19 +136,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
|
|
136
136
|
</div>
|
137
137
|
</div>
|
138
138
|
|
139
|
-
<div id="method-
|
140
|
-
<a name="
|
139
|
+
<div id="method-M000020" class="method-detail">
|
140
|
+
<a name="M000020"></a>
|
141
141
|
|
142
142
|
<div class="method-heading">
|
143
|
-
<a href="#
|
143
|
+
<a href="#M000020" class="method-signature">
|
144
144
|
<span class="method-name">add_preamble</span><span class="method-args">(src)</span>
|
145
145
|
</a>
|
146
146
|
</div>
|
147
147
|
|
148
148
|
<div class="method-description">
|
149
149
|
<p><a class="source-toggle" href="#"
|
150
|
-
onclick="toggleCode('
|
151
|
-
<div class="method-source-code" id="
|
150
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
151
|
+
<div class="method-source-code" id="M000020-source">
|
152
152
|
<pre>
|
153
153
|
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 211</span>
|
154
154
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
|
@@ -101,10 +101,10 @@ ex.
|
|
101
101
|
<h3 class="section-bar">Methods</h3>
|
102
102
|
|
103
103
|
<div class="name-list">
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
104
|
+
<a href="#M000203">convert</a>
|
105
|
+
<a href="#M000205">evaluate</a>
|
106
|
+
<a href="#M000202">new</a>
|
107
|
+
<a href="#M000204">result</a>
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
|
@@ -152,19 +152,19 @@ ex.
|
|
152
152
|
<div id="methods">
|
153
153
|
<h3 class="section-bar">Public Class methods</h3>
|
154
154
|
|
155
|
-
<div id="method-
|
156
|
-
<a name="
|
155
|
+
<div id="method-M000202" class="method-detail">
|
156
|
+
<a name="M000202"></a>
|
157
157
|
|
158
158
|
<div class="method-heading">
|
159
|
-
<a href="#
|
159
|
+
<a href="#M000202" class="method-signature">
|
160
160
|
<span class="method-name">new</span><span class="method-args">(input=nil)</span>
|
161
161
|
</a>
|
162
162
|
</div>
|
163
163
|
|
164
164
|
<div class="method-description">
|
165
165
|
<p><a class="source-toggle" href="#"
|
166
|
-
onclick="toggleCode('
|
167
|
-
<div class="method-source-code" id="
|
166
|
+
onclick="toggleCode('M000202-source');return false;">[Source]</a></p>
|
167
|
+
<div class="method-source-code" id="M000202-source">
|
168
168
|
<pre>
|
169
169
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 20</span>
|
170
170
|
<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>)
|
@@ -177,19 +177,19 @@ ex.
|
|
177
177
|
|
178
178
|
<h3 class="section-bar">Public Instance methods</h3>
|
179
179
|
|
180
|
-
<div id="method-
|
181
|
-
<a name="
|
180
|
+
<div id="method-M000203" class="method-detail">
|
181
|
+
<a name="M000203"></a>
|
182
182
|
|
183
183
|
<div class="method-heading">
|
184
|
-
<a href="#
|
184
|
+
<a href="#M000203" class="method-signature">
|
185
185
|
<span class="method-name">convert</span><span class="method-args">(input)</span>
|
186
186
|
</a>
|
187
187
|
</div>
|
188
188
|
|
189
189
|
<div class="method-description">
|
190
190
|
<p><a class="source-toggle" href="#"
|
191
|
-
onclick="toggleCode('
|
192
|
-
<div class="method-source-code" id="
|
191
|
+
onclick="toggleCode('M000203-source');return false;">[Source]</a></p>
|
192
|
+
<div class="method-source-code" id="M000203-source">
|
193
193
|
<pre>
|
194
194
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 27</span>
|
195
195
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">input</span>)
|
@@ -224,19 +224,19 @@ ex.
|
|
224
224
|
</div>
|
225
225
|
</div>
|
226
226
|
|
227
|
-
<div id="method-
|
228
|
-
<a name="
|
227
|
+
<div id="method-M000205" class="method-detail">
|
228
|
+
<a name="M000205"></a>
|
229
229
|
|
230
230
|
<div class="method-heading">
|
231
|
-
<a href="#
|
231
|
+
<a href="#M000205" class="method-signature">
|
232
232
|
<span class="method-name">evaluate</span><span class="method-args">(_context=Object.new)</span>
|
233
233
|
</a>
|
234
234
|
</div>
|
235
235
|
|
236
236
|
<div class="method-description">
|
237
237
|
<p><a class="source-toggle" href="#"
|
238
|
-
onclick="toggleCode('
|
239
|
-
<div class="method-source-code" id="
|
238
|
+
onclick="toggleCode('M000205-source');return false;">[Source]</a></p>
|
239
|
+
<div class="method-source-code" id="M000205-source">
|
240
240
|
<pre>
|
241
241
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 63</span>
|
242
242
|
<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>)
|
@@ -252,11 +252,11 @@ ex.
|
|
252
252
|
</div>
|
253
253
|
</div>
|
254
254
|
|
255
|
-
<div id="method-
|
256
|
-
<a name="
|
255
|
+
<div id="method-M000204" class="method-detail">
|
256
|
+
<a name="M000204"></a>
|
257
257
|
|
258
258
|
<div class="method-heading">
|
259
|
-
<a href="#
|
259
|
+
<a href="#M000204" class="method-signature">
|
260
260
|
<span class="method-name">result</span><span class="method-args">(_binding=TOPLEVEL_BINDING)</span>
|
261
261
|
</a>
|
262
262
|
</div>
|
@@ -272,8 +272,8 @@ def escape_text(text)
|
|
272
272
|
end
|
273
273
|
</p>
|
274
274
|
<p><a class="source-toggle" href="#"
|
275
|
-
onclick="toggleCode('
|
276
|
-
<div class="method-source-code" id="
|
275
|
+
onclick="toggleCode('M000204-source');return false;">[Source]</a></p>
|
276
|
+
<div class="method-source-code" id="M000204-source">
|
277
277
|
<pre>
|
278
278
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 59</span>
|
279
279
|
<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>)
|
@@ -86,12 +86,12 @@ helper for xml
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
89
|
+
<a href="#M000100">escape_xml</a>
|
90
|
+
<a href="#M000101">escape_xml2</a>
|
91
|
+
<a href="#M000102">h</a>
|
92
|
+
<a href="#M000103">html_escape</a>
|
93
|
+
<a href="#M000105">u</a>
|
94
|
+
<a href="#M000104">url_encode</a>
|
95
95
|
</div>
|
96
96
|
</div>
|
97
97
|
|
@@ -126,19 +126,19 @@ helper for xml
|
|
126
126
|
<div id="methods">
|
127
127
|
<h3 class="section-bar">Public Instance methods</h3>
|
128
128
|
|
129
|
-
<div id="method-
|
130
|
-
<a name="
|
129
|
+
<div id="method-M000100" class="method-detail">
|
130
|
+
<a name="M000100"></a>
|
131
131
|
|
132
132
|
<div class="method-heading">
|
133
|
-
<a href="#
|
133
|
+
<a href="#M000100" class="method-signature">
|
134
134
|
<span class="method-name">escape_xml</span><span class="method-args">(value)</span>
|
135
135
|
</a>
|
136
136
|
</div>
|
137
137
|
|
138
138
|
<div class="method-description">
|
139
139
|
<p><a class="source-toggle" href="#"
|
140
|
-
onclick="toggleCode('
|
141
|
-
<div class="method-source-code" id="
|
140
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
141
|
+
<div class="method-source-code" id="M000100-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File erubis/helper.rb, line 25</span>
|
144
144
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_xml</span>(<span class="ruby-identifier">value</span>)
|
@@ -150,19 +150,19 @@ helper for xml
|
|
150
150
|
</div>
|
151
151
|
</div>
|
152
152
|
|
153
|
-
<div id="method-
|
154
|
-
<a name="
|
153
|
+
<div id="method-M000101" class="method-detail">
|
154
|
+
<a name="M000101"></a>
|
155
155
|
|
156
156
|
<div class="method-heading">
|
157
|
-
<a href="#
|
157
|
+
<a href="#M000101" class="method-signature">
|
158
158
|
<span class="method-name">escape_xml2</span><span class="method-args">(value)</span>
|
159
159
|
</a>
|
160
160
|
</div>
|
161
161
|
|
162
162
|
<div class="method-description">
|
163
163
|
<p><a class="source-toggle" href="#"
|
164
|
-
onclick="toggleCode('
|
165
|
-
<div class="method-source-code" id="
|
164
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
165
|
+
<div class="method-source-code" id="M000101-source">
|
166
166
|
<pre>
|
167
167
|
<span class="ruby-comment cmt"># File erubis/helper.rb, line 30</span>
|
168
168
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_xml2</span>(<span class="ruby-identifier">value</span>)
|
@@ -173,8 +173,8 @@ helper for xml
|
|
173
173
|
</div>
|
174
174
|
</div>
|
175
175
|
|
176
|
-
<div id="method-
|
177
|
-
<a name="
|
176
|
+
<div id="method-M000102" class="method-detail">
|
177
|
+
<a name="M000102"></a>
|
178
178
|
|
179
179
|
<div class="method-heading">
|
180
180
|
<span class="method-name">h</span><span class="method-args">(value)</span>
|
@@ -182,13 +182,13 @@ helper for xml
|
|
182
182
|
|
183
183
|
<div class="method-description">
|
184
184
|
<p>
|
185
|
-
Alias for <a href="XmlHelper.html#
|
185
|
+
Alias for <a href="XmlHelper.html#M000100">escape_xml</a>
|
186
186
|
</p>
|
187
187
|
</div>
|
188
188
|
</div>
|
189
189
|
|
190
|
-
<div id="method-
|
191
|
-
<a name="
|
190
|
+
<div id="method-M000103" class="method-detail">
|
191
|
+
<a name="M000103"></a>
|
192
192
|
|
193
193
|
<div class="method-heading">
|
194
194
|
<span class="method-name">html_escape</span><span class="method-args">(value)</span>
|
@@ -196,13 +196,13 @@ Alias for <a href="XmlHelper.html#M000119">escape_xml</a>
|
|
196
196
|
|
197
197
|
<div class="method-description">
|
198
198
|
<p>
|
199
|
-
Alias for <a href="XmlHelper.html#
|
199
|
+
Alias for <a href="XmlHelper.html#M000100">escape_xml</a>
|
200
200
|
</p>
|
201
201
|
</div>
|
202
202
|
</div>
|
203
203
|
|
204
|
-
<div id="method-
|
205
|
-
<a name="
|
204
|
+
<div id="method-M000105" class="method-detail">
|
205
|
+
<a name="M000105"></a>
|
206
206
|
|
207
207
|
<div class="method-heading">
|
208
208
|
<span class="method-name">u</span><span class="method-args">(str)</span>
|
@@ -210,24 +210,24 @@ Alias for <a href="XmlHelper.html#M000119">escape_xml</a>
|
|
210
210
|
|
211
211
|
<div class="method-description">
|
212
212
|
<p>
|
213
|
-
Alias for <a href="XmlHelper.html#
|
213
|
+
Alias for <a href="XmlHelper.html#M000104">url_encode</a>
|
214
214
|
</p>
|
215
215
|
</div>
|
216
216
|
</div>
|
217
217
|
|
218
|
-
<div id="method-
|
219
|
-
<a name="
|
218
|
+
<div id="method-M000104" class="method-detail">
|
219
|
+
<a name="M000104"></a>
|
220
220
|
|
221
221
|
<div class="method-heading">
|
222
|
-
<a href="#
|
222
|
+
<a href="#M000104" class="method-signature">
|
223
223
|
<span class="method-name">url_encode</span><span class="method-args">(str)</span>
|
224
224
|
</a>
|
225
225
|
</div>
|
226
226
|
|
227
227
|
<div class="method-description">
|
228
228
|
<p><a class="source-toggle" href="#"
|
229
|
-
onclick="toggleCode('
|
230
|
-
<div class="method-source-code" id="
|
229
|
+
onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000104-source">
|
231
231
|
<pre>
|
232
232
|
<span class="ruby-comment cmt"># File erubis/helper.rb, line 37</span>
|
233
233
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">url_encode</span>(<span class="ruby-identifier">str</span>)
|
data/doc-api/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Sat, 07 Feb 2009 19:17:12 +0900
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sat Feb 07 19:17:12 +0900 2009</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -71,10 +71,10 @@
|
|
71
71
|
<div id="description">
|
72
72
|
<h1>README</h1>
|
73
73
|
<table>
|
74
|
-
<tr><td valign="top">release:</td><td>2.6.
|
74
|
+
<tr><td valign="top">release:</td><td>2.6.3
|
75
75
|
|
76
76
|
</td></tr>
|
77
|
-
<tr><td valign="top">copyright:</td><td>copyright(c) 2006-
|
77
|
+
<tr><td valign="top">copyright:</td><td>copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
|
78
78
|
|
79
79
|
</td></tr>
|
80
80
|
</table>
|