erubis 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/CHANGES.txt +12 -3
  2. data/README.txt +1 -1
  3. data/benchmark/bench.rb +1 -1
  4. data/bin/erubis +1 -1
  5. data/contrib/erubis +1 -1
  6. data/contrib/inline-require +1 -1
  7. data/doc-api/classes/ActionView/TemplateHandlers/{Erubis.html → ErubisHandler.html} +14 -35
  8. data/doc-api/classes/Erubis.html +1 -1
  9. data/doc-api/classes/Erubis/ArrayBufferEnhancer.html +12 -12
  10. data/doc-api/classes/Erubis/ArrayEnhancer.html +12 -12
  11. data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
  12. data/doc-api/classes/Erubis/BiPatternEnhancer.html +12 -12
  13. data/doc-api/classes/Erubis/CGenerator.html +60 -60
  14. data/doc-api/classes/Erubis/Context.html +42 -42
  15. data/doc-api/classes/Erubis/Converter.html +27 -27
  16. data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +6 -6
  17. data/doc-api/classes/Erubis/Engine.html +30 -30
  18. data/doc-api/classes/Erubis/ErboutEnhancer.html +12 -12
  19. data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
  20. data/doc-api/classes/Erubis/Evaluator.html +19 -19
  21. data/doc-api/classes/Erubis/Generator.html +60 -60
  22. data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +12 -12
  23. data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +149 -149
  24. data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
  25. data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +12 -12
  26. data/doc-api/classes/Erubis/InterpolationEnhancer.html +30 -30
  27. data/doc-api/classes/Erubis/JavaGenerator.html +54 -54
  28. data/doc-api/classes/Erubis/JavascriptGenerator.html +60 -60
  29. data/doc-api/classes/Erubis/Main.html +19 -19
  30. data/doc-api/classes/Erubis/NoCodeEnhancer.html +30 -30
  31. data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
  32. data/doc-api/classes/Erubis/OptimizedEruby.html +6 -6
  33. data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
  34. data/doc-api/classes/Erubis/OptimizedXmlEruby.html +6 -6
  35. data/doc-api/classes/Erubis/PI/Converter.html +18 -18
  36. data/doc-api/classes/Erubis/PI/Ec.html +6 -6
  37. data/doc-api/classes/Erubis/PI/Ejava.html +6 -6
  38. data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
  39. data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
  40. data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
  41. data/doc-api/classes/Erubis/PI/Eruby.html +6 -6
  42. data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
  43. data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
  44. data/doc-api/classes/Erubis/PercentLineEnhancer.html +6 -6
  45. data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
  46. data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
  47. data/doc-api/classes/Erubis/PreprocessingEruby.html +12 -12
  48. data/doc-api/classes/Erubis/PreprocessingHelper.html +22 -22
  49. data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
  50. data/doc-api/classes/Erubis/PrintOutEnhancer.html +30 -30
  51. data/doc-api/classes/Erubis/RubyEvaluator.html +18 -18
  52. data/doc-api/classes/Erubis/RubyGenerator.html +48 -48
  53. data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
  54. data/doc-api/classes/Erubis/SimplifyEnhancer.html +7 -7
  55. data/doc-api/classes/Erubis/StdoutEnhancer.html +12 -12
  56. data/doc-api/classes/Erubis/StringBufferEnhancer.html +12 -12
  57. data/doc-api/classes/Erubis/TinyEruby.html +24 -24
  58. data/doc-api/classes/Erubis/XmlHelper.html +30 -30
  59. data/doc-api/created.rid +1 -1
  60. data/doc-api/files/README_txt.html +2 -2
  61. data/doc-api/files/erubis/context_rb.html +1 -1
  62. data/doc-api/files/erubis/converter_rb.html +2 -2
  63. data/doc-api/files/erubis/engine/ec_rb.html +1 -1
  64. data/doc-api/files/erubis/engine/ejava_rb.html +1 -1
  65. data/doc-api/files/erubis/engine/ejavascript_rb.html +1 -1
  66. data/doc-api/files/erubis/engine/enhanced_rb.html +1 -1
  67. data/doc-api/files/erubis/engine/eperl_rb.html +1 -1
  68. data/doc-api/files/erubis/engine/ephp_rb.html +1 -1
  69. data/doc-api/files/erubis/engine/eruby_rb.html +2 -2
  70. data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
  71. data/doc-api/files/erubis/engine/optimized_rb.html +2 -2
  72. data/doc-api/files/erubis/engine_rb.html +1 -1
  73. data/doc-api/files/erubis/enhancer_rb.html +1 -1
  74. data/doc-api/files/erubis/error_rb.html +1 -1
  75. data/doc-api/files/erubis/evaluator_rb.html +1 -1
  76. data/doc-api/files/erubis/generator_rb.html +1 -1
  77. data/doc-api/files/erubis/helper_rb.html +1 -1
  78. data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +1 -1
  79. data/doc-api/files/erubis/helpers/rails_helper_rb.html +2 -2
  80. data/doc-api/files/erubis/local-setting_rb.html +1 -1
  81. data/doc-api/files/erubis/main_rb.html +1 -1
  82. data/doc-api/files/erubis/preprocessing_rb.html +1 -1
  83. data/doc-api/files/erubis/tiny_rb.html +1 -1
  84. data/doc-api/files/erubis_rb.html +1 -1
  85. data/doc-api/fr_class_index.html +1 -1
  86. data/doc-api/fr_method_index.html +221 -222
  87. data/doc/users-guide.html +5 -5
  88. data/lib/erubis.rb +2 -2
  89. data/lib/erubis/context.rb +1 -1
  90. data/lib/erubis/converter.rb +1 -1
  91. data/lib/erubis/converter.rb: +0 -0
  92. data/lib/erubis/engine.rb +1 -1
  93. data/lib/erubis/engine/ec.rb +1 -1
  94. data/lib/erubis/engine/ejava.rb +1 -1
  95. data/lib/erubis/engine/ejavascript.rb +1 -1
  96. data/lib/erubis/engine/enhanced.rb +1 -1
  97. data/lib/erubis/engine/eperl.rb +1 -1
  98. data/lib/erubis/engine/ephp.rb +1 -1
  99. data/lib/erubis/engine/eruby.rb +1 -1
  100. data/lib/erubis/engine/escheme.rb +1 -1
  101. data/lib/erubis/engine/optimized.rb +1 -1
  102. data/lib/erubis/enhancer.rb +1 -1
  103. data/lib/erubis/error.rb +1 -1
  104. data/lib/erubis/evaluator.rb +1 -1
  105. data/lib/erubis/generator.rb +1 -1
  106. data/lib/erubis/helper.rb +1 -1
  107. data/lib/erubis/helpers/rails_form_helper.rb +1 -1
  108. data/lib/erubis/helpers/rails_helper.rb +53 -21
  109. data/lib/erubis/local-setting.rb +1 -1
  110. data/lib/erubis/main.rb +1 -1
  111. data/lib/erubis/preprocessing.rb +1 -1
  112. data/lib/erubis/tiny.rb +1 -1
  113. data/test/assert-text-equal.rb +1 -1
  114. data/test/test-engines.rb +1 -1
  115. data/test/test-enhancers.rb +1 -1
  116. data/test/test-erubis.rb +1 -1
  117. data/test/test-main.rb +2 -2
  118. data/test/test-users-guide.rb +1 -1
  119. data/test/test.rb +1 -1
  120. data/test/testutil.rb +1 -1
  121. metadata +4 -3
@@ -1,10 +1,19 @@
1
- # $Rev: 107 $
2
- # $Release: 2.6.0 $
1
+ # $Rev: 113 $
2
+ # $Release: 2.6.1 $
3
3
  # copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
4
4
 
5
5
 
6
+ - release: 2.6.1
7
+ date: 2008-06-06
8
+ enhancements:
9
+
10
+ - |
11
+ Rails 2.1 support. (special thanks José Valim)
12
+
13
+
14
+
6
15
  - release: 2.6.0
7
- date:
16
+ date: 2008-05-05
8
17
  enhancements:
9
18
 
10
19
  - |
data/README.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  = README
2
2
 
3
- release:: 2.6.0
3
+ release:: 2.6.1
4
4
  copyright:: copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
5
5
 
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###
4
4
  ### $Rev: 101 $
5
- ### $Release: 2.6.0 $
5
+ ### $Release: 2.6.1 $
6
6
  ### copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
7
7
  ###
8
8
 
data/bin/erubis CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###
4
4
  ### $Rev: 77 $
5
- ### $Release: 2.6.0 $
5
+ ### $Release: 2.6.1 $
6
6
  ### copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
7
7
  ###
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###
4
4
  ### $Rev: 77 $
5
- ### $Release: 2.6.0 $
5
+ ### $Release: 2.6.1 $
6
6
  ### copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
7
7
  ###
8
8
 
@@ -6,7 +6,7 @@
6
6
  ### usage: inline-require [-h] [-I path[,path2,..]] script
7
7
  ###
8
8
  ### copyright(c) 2006-2008 kuwata-lab.com all rights reserved.
9
- ### 2.6.0
9
+ ### 2.6.1
10
10
  ### $Rev: 2 $
11
11
  ###
12
12
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: ActionView::TemplateHandlers::Erubis</title>
8
+ <title>Class: ActionView::TemplateHandlers::ErubisHandler</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
@@ -50,7 +50,7 @@
50
50
  <table class="header-table">
51
51
  <tr class="top-aligned-row">
52
52
  <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">ActionView::TemplateHandlers::Erubis</td>
53
+ <td class="class-name-in-header">ActionView::TemplateHandlers::ErubisHandler</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
@@ -86,9 +86,8 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000003">_preprocessing_context_object</a>&nbsp;&nbsp;
90
89
  <a href="#M000001">compile</a>&nbsp;&nbsp;
91
- <a href="#M000002">logger</a>&nbsp;&nbsp;
90
+ <a href="#M000002">compile</a>&nbsp;&nbsp;
92
91
  </div>
93
92
  </div>
94
93
 
@@ -100,8 +99,11 @@
100
99
  <h3 class="section-bar">Included Modules</h3>
101
100
 
102
101
  <div id="includes-list">
103
- <span class="include-name"><a href="../../Erubis/Helpers/RailsHelper/TemplateConverter.html">::Erubis::Helpers::RailsHelper::TemplateConverter</a></span>
104
- <span class="include-name"><a href="../../Erubis/PreprocessingHelper.html">::Erubis::PreprocessingHelper</a></span>
102
+ <span class="include-name">Compilable</span>
103
+ <span class="include-name"><a href="../../Erubis/Helpers/RailsHelper/TemplateConverter.html">Erubis::Helpers::RailsHelper::TemplateConverter</a></span>
104
+ <span class="include-name"><a href="../../Erubis/PreprocessingHelper.html">Erubis::PreprocessingHelper</a></span>
105
+ <span class="include-name"><a href="../../Erubis/Helpers/RailsHelper/TemplateConverter.html">Erubis::Helpers::RailsHelper::TemplateConverter</a></span>
106
+ <span class="include-name"><a href="../../Erubis/PreprocessingHelper.html">Erubis::PreprocessingHelper</a></span>
105
107
  </div>
106
108
  </div>
107
109
 
@@ -118,29 +120,6 @@
118
120
  <div id="methods">
119
121
  <h3 class="section-bar">Public Instance methods</h3>
120
122
 
121
- <div id="method-M000003" class="method-detail">
122
- <a name="M000003"></a>
123
-
124
- <div class="method-heading">
125
- <a href="#M000003" class="method-signature">
126
- <span class="method-name">_preprocessing_context_object</span><span class="method-args">()</span>
127
- </a>
128
- </div>
129
-
130
- <div class="method-description">
131
- <p><a class="source-toggle" href="#"
132
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
133
- <div class="method-source-code" id="M000003-source">
134
- <pre>
135
- <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 154</span>
136
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_preprocessing_context_object</span>
137
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">controller</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-value str">'@template'</span>)
138
- <span class="ruby-keyword kw">end</span>
139
- </pre>
140
- </div>
141
- </div>
142
- </div>
143
-
144
123
  <div id="method-M000001" class="method-detail">
145
124
  <a name="M000001"></a>
146
125
 
@@ -155,9 +134,9 @@
155
134
  onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
156
135
  <div class="method-source-code" id="M000001-source">
157
136
  <pre>
158
- <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 148</span>
137
+ <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 150</span>
159
138
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compile</span>(<span class="ruby-identifier">template</span>)
160
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">_convert_template</span>(<span class="ruby-identifier">template</span>)
139
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">_convert_template</span>(<span class="ruby-identifier">template</span>.<span class="ruby-identifier">source</span>) <span class="ruby-comment cmt"># template.is_a?(ActionView::Template)</span>
161
140
  <span class="ruby-keyword kw">end</span>
162
141
  </pre>
163
142
  </div>
@@ -169,7 +148,7 @@
169
148
 
170
149
  <div class="method-heading">
171
150
  <a href="#M000002" class="method-signature">
172
- <span class="method-name">logger</span><span class="method-args">()</span>
151
+ <span class="method-name">compile</span><span class="method-args">(template)</span>
173
152
  </a>
174
153
  </div>
175
154
 
@@ -178,9 +157,9 @@
178
157
  onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
179
158
  <div class="method-source-code" id="M000002-source">
180
159
  <pre>
181
- <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 151</span>
182
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logger</span>
183
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">controller</span>.<span class="ruby-identifier">logger</span>
160
+ <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 180</span>
161
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compile</span>(<span class="ruby-identifier">template</span>)
162
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">_convert_template</span>(<span class="ruby-identifier">template</span>) <span class="ruby-comment cmt"># template.is_a?(String)</span>
184
163
  <span class="ruby-keyword kw">end</span>
185
164
  </pre>
186
165
  </div>
@@ -328,7 +328,7 @@ Class <a href="Erubis/XmlEruby.html" class="link">Erubis::XmlEruby</a><br />
328
328
  <tr class="top-aligned-row context-row">
329
329
  <td class="context-item-name">VERSION</td>
330
330
  <td>=</td>
331
- <td class="context-item-value">('$Release: 2.6.0 $' =~ /([.\d]+)/) &amp;&amp; $1</td>
331
+ <td class="context-item-value">('$Release: 2.6.1 $' =~ /([.\d]+)/) &amp;&amp; $1</td>
332
332
  </tr>
333
333
  </table>
334
334
  </div>
@@ -90,8 +90,8 @@ this is only for <a href="Eruby.html">Eruby</a>.
90
90
  <h3 class="section-bar">Methods</h3>
91
91
 
92
92
  <div class="name-list">
93
- <a href="#M000010">add_postamble</a>&nbsp;&nbsp;
94
- <a href="#M000009">add_preamble</a>&nbsp;&nbsp;
93
+ <a href="#M000009">add_postamble</a>&nbsp;&nbsp;
94
+ <a href="#M000008">add_preamble</a>&nbsp;&nbsp;
95
95
  </div>
96
96
  </div>
97
97
 
@@ -113,19 +113,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
113
113
  <div id="methods">
114
114
  <h3 class="section-bar">Public Instance methods</h3>
115
115
 
116
- <div id="method-M000010" class="method-detail">
117
- <a name="M000010"></a>
116
+ <div id="method-M000009" class="method-detail">
117
+ <a name="M000009"></a>
118
118
 
119
119
  <div class="method-heading">
120
- <a href="#M000010" class="method-signature">
120
+ <a href="#M000009" class="method-signature">
121
121
  <span class="method-name">add_postamble</span><span class="method-args">(src)</span>
122
122
  </a>
123
123
  </div>
124
124
 
125
125
  <div class="method-description">
126
126
  <p><a class="source-toggle" href="#"
127
- onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
128
- <div class="method-source-code" id="M000010-source">
127
+ onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000009-source">
129
129
  <pre>
130
130
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 192</span>
131
131
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
@@ -137,19 +137,19 @@ this is only for <a href="Eruby.html">Eruby</a>.
137
137
  </div>
138
138
  </div>
139
139
 
140
- <div id="method-M000009" class="method-detail">
141
- <a name="M000009"></a>
140
+ <div id="method-M000008" class="method-detail">
141
+ <a name="M000008"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000009" class="method-signature">
144
+ <a href="#M000008" class="method-signature">
145
145
  <span class="method-name">add_preamble</span><span class="method-args">(src)</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('M000009-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000009-source">
151
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000008-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 188</span>
155
155
  <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="#M000194">add_postamble</a>&nbsp;&nbsp;
93
- <a href="#M000193">add_preamble</a>&nbsp;&nbsp;
92
+ <a href="#M000193">add_postamble</a>&nbsp;&nbsp;
93
+ <a href="#M000192">add_preamble</a>&nbsp;&nbsp;
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-M000194" class="method-detail">
116
- <a name="M000194"></a>
115
+ <div id="method-M000193" class="method-detail">
116
+ <a name="M000193"></a>
117
117
 
118
118
  <div class="method-heading">
119
- <a href="#M000194" class="method-signature">
119
+ <a href="#M000193" 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('M000194-source');return false;">[Source]</a></p>
127
- <div class="method-source-code" id="M000194-source">
126
+ onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
127
+ <div class="method-source-code" id="M000193-source">
128
128
  <pre>
129
129
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 169</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-M000193" class="method-detail">
140
- <a name="M000193"></a>
139
+ <div id="method-M000192" class="method-detail">
140
+ <a name="M000192"></a>
141
141
 
142
142
  <div class="method-heading">
143
- <a href="#M000193" class="method-signature">
143
+ <a href="#M000192" 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('M000193-source');return false;">[Source]</a></p>
151
- <div class="method-source-code" id="M000193-source">
150
+ onclick="toggleCode('M000192-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000192-source">
152
152
  <pre>
153
153
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 165</span>
154
154
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
@@ -86,10 +86,10 @@ basic converter which supports &#8217;&lt;% &#8230; %&gt;&#8217; notation.
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000062">add_expr</a>&nbsp;&nbsp;
90
- <a href="#M000061">convert_input</a>&nbsp;&nbsp;
91
- <a href="#M000059">init_converter</a>&nbsp;&nbsp;
92
- <a href="#M000060">pattern_regexp</a>&nbsp;&nbsp;
89
+ <a href="#M000061">add_expr</a>&nbsp;&nbsp;
90
+ <a href="#M000060">convert_input</a>&nbsp;&nbsp;
91
+ <a href="#M000058">init_converter</a>&nbsp;&nbsp;
92
+ <a href="#M000059">pattern_regexp</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -156,11 +156,11 @@ DEFAULT_REGEXP = /&lt;%(=+|\#)?(.*?)-?%&gt;([ \t]*\r?\n)?/m
156
156
  <div id="methods">
157
157
  <h3 class="section-bar">Public Instance methods</h3>
158
158
 
159
- <div id="method-M000062" class="method-detail">
160
- <a name="M000062"></a>
159
+ <div id="method-M000061" class="method-detail">
160
+ <a name="M000061"></a>
161
161
 
162
162
  <div class="method-heading">
163
- <a href="#M000062" class="method-signature">
163
+ <a href="#M000061" class="method-signature">
164
164
  <span class="method-name">add_expr</span><span class="method-args">(src, code, indicator)</span>
165
165
  </a>
166
166
  </div>
@@ -170,8 +170,8 @@ DEFAULT_REGEXP = /&lt;%(=+|\#)?(.*?)-?%&gt;([ \t]*\r?\n)?/m
170
170
  add expression code to src
171
171
  </p>
172
172
  <p><a class="source-toggle" href="#"
173
- onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
174
- <div class="method-source-code" id="M000062-source">
173
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000061-source">
175
175
  <pre>
176
176
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 176</span>
177
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>, <span class="ruby-identifier">indicator</span>)
@@ -189,19 +189,19 @@ add expression code to src
189
189
  </div>
190
190
  </div>
191
191
 
192
- <div id="method-M000061" class="method-detail">
193
- <a name="M000061"></a>
192
+ <div id="method-M000060" class="method-detail">
193
+ <a name="M000060"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000061" class="method-signature">
196
+ <a href="#M000060" class="method-signature">
197
197
  <span class="method-name">convert_input</span><span class="method-args">(src, input)</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('M000061-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000061-source">
203
+ onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000060-source">
205
205
  <pre>
206
206
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 128</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_input</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">input</span>)
@@ -255,19 +255,19 @@ add expression code to src
255
255
  </div>
256
256
  </div>
257
257
 
258
- <div id="method-M000059" class="method-detail">
259
- <a name="M000059"></a>
258
+ <div id="method-M000058" class="method-detail">
259
+ <a name="M000058"></a>
260
260
 
261
261
  <div class="method-heading">
262
- <a href="#M000059" class="method-signature">
262
+ <a href="#M000058" class="method-signature">
263
263
  <span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
264
264
  </a>
265
265
  </div>
266
266
 
267
267
  <div class="method-description">
268
268
  <p><a class="source-toggle" href="#"
269
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
270
- <div class="method-source-code" id="M000059-source">
269
+ onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
270
+ <div class="method-source-code" id="M000058-source">
271
271
  <pre>
272
272
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 104</span>
273
273
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
@@ -282,11 +282,11 @@ add expression code to src
282
282
 
283
283
  <h3 class="section-bar">Protected Instance methods</h3>
284
284
 
285
- <div id="method-M000060" class="method-detail">
286
- <a name="M000060"></a>
285
+ <div id="method-M000059" class="method-detail">
286
+ <a name="M000059"></a>
287
287
 
288
288
  <div class="method-heading">
289
- <a href="#M000060" class="method-signature">
289
+ <a href="#M000059" class="method-signature">
290
290
  <span class="method-name">pattern_regexp</span><span class="method-args">(pattern)</span>
291
291
  </a>
292
292
  </div>
@@ -296,8 +296,8 @@ add expression code to src
296
296
  return regexp of pattern to parse eRuby script
297
297
  </p>
298
298
  <p><a class="source-toggle" href="#"
299
- onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
300
- <div class="method-source-code" id="M000060-source">
299
+ onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
300
+ <div class="method-source-code" id="M000059-source">
301
301
  <pre>
302
302
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 113</span>
303
303
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pattern_regexp</span>(<span class="ruby-identifier">pattern</span>)
@@ -119,8 +119,8 @@ this is language independent.
119
119
  <h3 class="section-bar">Methods</h3>
120
120
 
121
121
  <div class="name-list">
122
- <a href="#M000166">add_text</a>&nbsp;&nbsp;
123
- <a href="#M000165">new</a>&nbsp;&nbsp;
122
+ <a href="#M000165">add_text</a>&nbsp;&nbsp;
123
+ <a href="#M000164">new</a>&nbsp;&nbsp;
124
124
  </div>
125
125
  </div>
126
126
 
@@ -142,19 +142,19 @@ this is language independent.
142
142
  <div id="methods">
143
143
  <h3 class="section-bar">Public Class methods</h3>
144
144
 
145
- <div id="method-M000165" class="method-detail">
146
- <a name="M000165"></a>
145
+ <div id="method-M000164" class="method-detail">
146
+ <a name="M000164"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="#M000165" class="method-signature">
149
+ <a href="#M000164" class="method-signature">
150
150
  <span class="method-name">new</span><span class="method-args">(input, properties={})</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('M000165-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000165-source">
156
+ onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
157
+ <div class="method-source-code" id="M000164-source">
158
158
  <pre>
159
159
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 408</span>
160
160
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">properties</span>={})
@@ -168,19 +168,19 @@ this is language independent.
168
168
 
169
169
  <h3 class="section-bar">Public Instance methods</h3>
170
170
 
171
- <div id="method-M000166" class="method-detail">
172
- <a name="M000166"></a>
171
+ <div id="method-M000165" class="method-detail">
172
+ <a name="M000165"></a>
173
173
 
174
174
  <div class="method-heading">
175
- <a href="#M000166" class="method-signature">
175
+ <a href="#M000165" class="method-signature">
176
176
  <span class="method-name">add_text</span><span class="method-args">(src, text)</span>
177
177
  </a>
178
178
  </div>
179
179
 
180
180
  <div class="method-description">
181
181
  <p><a class="source-toggle" href="#"
182
- onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
183
- <div class="method-source-code" id="M000166-source">
182
+ onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
183
+ <div class="method-source-code" id="M000165-source">
184
184
  <pre>
185
185
  <span class="ruby-comment cmt"># File erubis/enhancer.rb, line 420</span>
186
186
  <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>)