erubis 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +12 -3
- data/README.txt +1 -1
- data/benchmark/bench.rb +1 -1
- data/bin/erubis +1 -1
- data/contrib/erubis +1 -1
- data/contrib/inline-require +1 -1
- data/doc-api/classes/ActionView/TemplateHandlers/{Erubis.html → ErubisHandler.html} +14 -35
- data/doc-api/classes/Erubis.html +1 -1
- data/doc-api/classes/Erubis/ArrayBufferEnhancer.html +12 -12
- 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/Context.html +42 -42
- data/doc-api/classes/Erubis/Converter.html +27 -27
- data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +6 -6
- data/doc-api/classes/Erubis/Engine.html +30 -30
- 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/Generator.html +60 -60
- data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +12 -12
- data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +149 -149
- 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/Main.html +19 -19
- data/doc-api/classes/Erubis/NoCodeEnhancer.html +30 -30
- data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
- data/doc-api/classes/Erubis/OptimizedEruby.html +6 -6
- data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
- data/doc-api/classes/Erubis/OptimizedXmlEruby.html +6 -6
- data/doc-api/classes/Erubis/PI/Converter.html +18 -18
- data/doc-api/classes/Erubis/PI/Ec.html +6 -6
- data/doc-api/classes/Erubis/PI/Ejava.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 +2 -2
- data/doc-api/files/erubis/context_rb.html +1 -1
- data/doc-api/files/erubis/converter_rb.html +2 -2
- 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 +2 -2
- data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
- data/doc-api/files/erubis/engine/optimized_rb.html +2 -2
- 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 +2 -2
- data/doc-api/files/erubis/local-setting_rb.html +1 -1
- data/doc-api/files/erubis/main_rb.html +1 -1
- 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_class_index.html +1 -1
- data/doc-api/fr_method_index.html +221 -222
- data/doc/users-guide.html +5 -5
- data/lib/erubis.rb +2 -2
- data/lib/erubis/context.rb +1 -1
- data/lib/erubis/converter.rb +1 -1
- data/lib/erubis/converter.rb: +0 -0
- data/lib/erubis/engine.rb +1 -1
- data/lib/erubis/engine/ec.rb +1 -1
- data/lib/erubis/engine/ejava.rb +1 -1
- data/lib/erubis/engine/ejavascript.rb +1 -1
- data/lib/erubis/engine/enhanced.rb +1 -1
- data/lib/erubis/engine/eperl.rb +1 -1
- data/lib/erubis/engine/ephp.rb +1 -1
- data/lib/erubis/engine/eruby.rb +1 -1
- data/lib/erubis/engine/escheme.rb +1 -1
- data/lib/erubis/engine/optimized.rb +1 -1
- data/lib/erubis/enhancer.rb +1 -1
- data/lib/erubis/error.rb +1 -1
- data/lib/erubis/evaluator.rb +1 -1
- data/lib/erubis/generator.rb +1 -1
- data/lib/erubis/helper.rb +1 -1
- data/lib/erubis/helpers/rails_form_helper.rb +1 -1
- data/lib/erubis/helpers/rails_helper.rb +53 -21
- data/lib/erubis/local-setting.rb +1 -1
- data/lib/erubis/main.rb +1 -1
- data/lib/erubis/preprocessing.rb +1 -1
- data/lib/erubis/tiny.rb +1 -1
- data/test/assert-text-equal.rb +1 -1
- data/test/test-engines.rb +1 -1
- data/test/test-enhancers.rb +1 -1
- data/test/test-erubis.rb +1 -1
- data/test/test-main.rb +2 -2
- data/test/test-users-guide.rb +1 -1
- data/test/test.rb +1 -1
- data/test/testutil.rb +1 -1
- metadata +4 -3
@@ -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#M000025">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="#M000025">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-M000025" class="method-detail">
|
134
|
+
<a name="M000025"></a>
|
135
135
|
|
136
136
|
<div class="method-heading">
|
137
|
-
<a href="#
|
137
|
+
<a href="#M000025" 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('M000025-source');return false;">[Source]</a></p>
|
145
|
+
<div class="method-source-code" id="M000025-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="#M000070">add_postamble</a>
|
93
|
+
<a href="#M000069">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-M000070" class="method-detail">
|
116
|
+
<a name="M000070"></a>
|
117
117
|
|
118
118
|
<div class="method-heading">
|
119
|
-
<a href="#
|
119
|
+
<a href="#M000070" 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('M000070-source');return false;">[Source]</a></p>
|
127
|
+
<div class="method-source-code" id="M000070-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-M000069" class="method-detail">
|
139
|
+
<a name="M000069"></a>
|
140
140
|
|
141
141
|
<div class="method-heading">
|
142
|
-
<a href="#
|
142
|
+
<a href="#M000069" 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('M000069-source');return false;">[Source]</a></p>
|
150
|
+
<div class="method-source-code" id="M000069-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="#M000199">add_postamble</a>
|
93
|
+
<a href="#M000198">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-M000199" class="method-detail">
|
116
|
+
<a name="M000199"></a>
|
117
117
|
|
118
118
|
<div class="method-heading">
|
119
|
-
<a href="#
|
119
|
+
<a href="#M000199" 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('M000199-source');return false;">[Source]</a></p>
|
127
|
+
<div class="method-source-code" id="M000199-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-M000198" class="method-detail">
|
140
|
+
<a name="M000198"></a>
|
141
141
|
|
142
142
|
<div class="method-heading">
|
143
|
-
<a href="#
|
143
|
+
<a href="#M000198" 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('M000198-source');return false;">[Source]</a></p>
|
151
|
+
<div class="method-source-code" id="M000198-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="#M000201">convert</a>
|
105
|
+
<a href="#M000203">evaluate</a>
|
106
|
+
<a href="#M000200">new</a>
|
107
|
+
<a href="#M000202">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-M000200" class="method-detail">
|
156
|
+
<a name="M000200"></a>
|
157
157
|
|
158
158
|
<div class="method-heading">
|
159
|
-
<a href="#
|
159
|
+
<a href="#M000200" 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('M000200-source');return false;">[Source]</a></p>
|
167
|
+
<div class="method-source-code" id="M000200-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-M000201" class="method-detail">
|
181
|
+
<a name="M000201"></a>
|
182
182
|
|
183
183
|
<div class="method-heading">
|
184
|
-
<a href="#
|
184
|
+
<a href="#M000201" 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('M000201-source');return false;">[Source]</a></p>
|
192
|
+
<div class="method-source-code" id="M000201-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>)
|
@@ -223,19 +223,19 @@ ex.
|
|
223
223
|
</div>
|
224
224
|
</div>
|
225
225
|
|
226
|
-
<div id="method-
|
227
|
-
<a name="
|
226
|
+
<div id="method-M000203" class="method-detail">
|
227
|
+
<a name="M000203"></a>
|
228
228
|
|
229
229
|
<div class="method-heading">
|
230
|
-
<a href="#
|
230
|
+
<a href="#M000203" class="method-signature">
|
231
231
|
<span class="method-name">evaluate</span><span class="method-args">(_context=Object.new)</span>
|
232
232
|
</a>
|
233
233
|
</div>
|
234
234
|
|
235
235
|
<div class="method-description">
|
236
236
|
<p><a class="source-toggle" href="#"
|
237
|
-
onclick="toggleCode('
|
238
|
-
<div class="method-source-code" id="
|
237
|
+
onclick="toggleCode('M000203-source');return false;">[Source]</a></p>
|
238
|
+
<div class="method-source-code" id="M000203-source">
|
239
239
|
<pre>
|
240
240
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 62</span>
|
241
241
|
<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>)
|
@@ -251,11 +251,11 @@ ex.
|
|
251
251
|
</div>
|
252
252
|
</div>
|
253
253
|
|
254
|
-
<div id="method-
|
255
|
-
<a name="
|
254
|
+
<div id="method-M000202" class="method-detail">
|
255
|
+
<a name="M000202"></a>
|
256
256
|
|
257
257
|
<div class="method-heading">
|
258
|
-
<a href="#
|
258
|
+
<a href="#M000202" class="method-signature">
|
259
259
|
<span class="method-name">result</span><span class="method-args">(_binding=TOPLEVEL_BINDING)</span>
|
260
260
|
</a>
|
261
261
|
</div>
|
@@ -271,8 +271,8 @@ def escape_text(text)
|
|
271
271
|
end
|
272
272
|
</p>
|
273
273
|
<p><a class="source-toggle" href="#"
|
274
|
-
onclick="toggleCode('
|
275
|
-
<div class="method-source-code" id="
|
274
|
+
onclick="toggleCode('M000202-source');return false;">[Source]</a></p>
|
275
|
+
<div class="method-source-code" id="M000202-source">
|
276
276
|
<pre>
|
277
277
|
<span class="ruby-comment cmt"># File erubis/tiny.rb, line 58</span>
|
278
278
|
<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="#M000119">escape_xml</a>
|
90
|
+
<a href="#M000120">escape_xml2</a>
|
91
|
+
<a href="#M000121">h</a>
|
92
|
+
<a href="#M000122">html_escape</a>
|
93
|
+
<a href="#M000124">u</a>
|
94
|
+
<a href="#M000123">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-M000119" class="method-detail">
|
130
|
+
<a name="M000119"></a>
|
131
131
|
|
132
132
|
<div class="method-heading">
|
133
|
-
<a href="#
|
133
|
+
<a href="#M000119" 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('M000119-source');return false;">[Source]</a></p>
|
141
|
+
<div class="method-source-code" id="M000119-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-M000120" class="method-detail">
|
154
|
+
<a name="M000120"></a>
|
155
155
|
|
156
156
|
<div class="method-heading">
|
157
|
-
<a href="#
|
157
|
+
<a href="#M000120" 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('M000120-source');return false;">[Source]</a></p>
|
165
|
+
<div class="method-source-code" id="M000120-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-M000121" class="method-detail">
|
177
|
+
<a name="M000121"></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#M000119">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-M000122" class="method-detail">
|
191
|
+
<a name="M000122"></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#M000120">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#M000119">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-M000124" class="method-detail">
|
205
|
+
<a name="M000124"></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#M000120">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#M000123">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-M000123" class="method-detail">
|
219
|
+
<a name="M000123"></a>
|
220
220
|
|
221
221
|
<div class="method-heading">
|
222
|
-
<a href="#
|
222
|
+
<a href="#M000123" 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('M000123-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000123-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
|
+
Fri, 06 Jun 2008 05:00:14 +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>Fri Jun 06 05:00:12 +0900 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -71,7 +71,7 @@
|
|
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.1
|
75
75
|
|
76
76
|
</td></tr>
|
77
77
|
<tr><td valign="top">copyright:</td><td>copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
|