erubis 2.6.3 → 2.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. data/CHANGES.txt +11 -2
  2. data/README.txt +1 -1
  3. data/benchmark/bench.rb +1 -1
  4. data/bin/erubis +1 -1
  5. data/contrib/erubis +23 -23
  6. data/contrib/inline-require +1 -1
  7. data/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +30 -2
  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 +150 -150
  24. data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
  25. data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +61 -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 +1 -1
  70. data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
  71. data/doc-api/files/erubis/engine/optimized_rb.html +1 -1
  72. data/doc-api/files/erubis/engine_rb.html +1 -1
  73. data/doc-api/files/erubis/enhancer_rb.html +2 -2
  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_method_index.html +224 -221
  86. data/doc/users-guide.html +5 -5
  87. data/lib/erubis.rb +2 -2
  88. data/lib/erubis/context.rb +1 -1
  89. data/lib/erubis/converter.rb +1 -1
  90. data/lib/erubis/engine.rb +1 -1
  91. data/lib/erubis/engine/ec.rb +1 -1
  92. data/lib/erubis/engine/ejava.rb +1 -1
  93. data/lib/erubis/engine/ejavascript.rb +1 -1
  94. data/lib/erubis/engine/enhanced.rb +1 -1
  95. data/lib/erubis/engine/eperl.rb +1 -1
  96. data/lib/erubis/engine/ephp.rb +1 -1
  97. data/lib/erubis/engine/eruby.rb +1 -1
  98. data/lib/erubis/engine/escheme.rb +1 -1
  99. data/lib/erubis/engine/optimized.rb +1 -1
  100. data/lib/erubis/enhancer.rb +1 -1
  101. data/lib/erubis/error.rb +1 -1
  102. data/lib/erubis/evaluator.rb +1 -1
  103. data/lib/erubis/generator.rb +1 -1
  104. data/lib/erubis/helper.rb +1 -1
  105. data/lib/erubis/helpers/rails_form_helper.rb +1 -1
  106. data/lib/erubis/helpers/rails_helper.rb +37 -8
  107. data/lib/erubis/local-setting.rb +1 -1
  108. data/lib/erubis/main.rb +1 -1
  109. data/lib/erubis/preprocessing.rb +1 -1
  110. data/lib/erubis/tiny.rb +1 -1
  111. data/test/assert-text-equal.rb +1 -1
  112. data/test/test-engines.rb +1 -1
  113. data/test/test-enhancers.rb +1 -1
  114. data/test/test-erubis.rb +1 -1
  115. data/test/test-main.rb +2 -2
  116. data/test/test-users-guide.rb +1 -1
  117. data/test/test.rb +1 -1
  118. data/test/testutil.rb +1 -1
  119. metadata +2 -2
@@ -1,9 +1,18 @@
1
1
  # -*- coding: utf-8 -*-
2
- # $Rev: 123 $
3
- # $Release: 2.6.3 $
2
+ # $Rev: 129 $
3
+ # $Release: 2.6.4 $
4
4
  # copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
5
5
 
6
6
 
7
+ - release: 2.6.4
8
+ date: 2009-02-18
9
+ enhancemens:
10
+
11
+ - |
12
+ Rails 2.2 and 2.3 support.
13
+
14
+
15
+
7
16
  - release: 2.6.3
8
17
  date: 2009-02-07
9
18
  bugfixes:
data/README.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  = README
2
2
 
3
- release:: 2.6.3
3
+ release:: 2.6.4
4
4
  copyright:: copyright(c) 2006-2009 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.3 $
5
+ ### $Release: 2.6.4 $
6
6
  ### copyright(c) 2006-2009 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: 121 $
5
- ### $Release: 2.6.3 $
5
+ ### $Release: 2.6.4 $
6
6
  ### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
7
7
  ###
8
8
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  ###
4
4
  ### $Rev: 121 $
5
- ### $Release: 2.6.3 $
5
+ ### $Release: 2.6.4 $
6
6
  ### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
7
7
  ###
8
8
 
9
9
  #--begin of require 'erubis/main'
10
10
  ###
11
11
  ### $Rev: 122 $
12
- ### $Release: 2.6.3 $
12
+ ### $Release: 2.6.4 $
13
13
  ### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
14
14
  ###
15
15
 
@@ -17,7 +17,7 @@ require 'yaml'
17
17
  #--begin of require 'erubis'
18
18
  ##
19
19
  ## $Rev: 99 $
20
- ## $Release: 2.6.3 $
20
+ ## $Release: 2.6.4 $
21
21
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
22
22
  ##
23
23
 
@@ -65,13 +65,13 @@ require 'yaml'
65
65
 
66
66
 
67
67
  module Erubis
68
- VERSION = ('$Release: 2.6.3 $' =~ /([.\d]+)/) && $1
68
+ VERSION = ('$Release: 2.6.4 $' =~ /([.\d]+)/) && $1
69
69
  end
70
70
 
71
71
  #--begin of require 'erubis/engine'
72
72
  ##
73
73
  ## $Rev: 104 $
74
- ## $Release: 2.6.3 $
74
+ ## $Release: 2.6.4 $
75
75
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
76
76
  ##
77
77
 
@@ -79,7 +79,7 @@ end
79
79
  #--begin of require 'erubis/generator'
80
80
  ##
81
81
  ## $Rev: 77 $
82
- ## $Release: 2.6.3 $
82
+ ## $Release: 2.6.4 $
83
83
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
84
84
  ##
85
85
 
@@ -243,7 +243,7 @@ end
243
243
  #--begin of require 'erubis/converter'
244
244
  ##
245
245
  ## $Rev: 115 $
246
- ## $Release: 2.6.3 $
246
+ ## $Release: 2.6.4 $
247
247
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
248
248
  ##
249
249
 
@@ -603,14 +603,14 @@ end
603
603
  #--begin of require 'erubis/evaluator'
604
604
  ##
605
605
  ## $Rev: 115 $
606
- ## $Release: 2.6.3 $
606
+ ## $Release: 2.6.4 $
607
607
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
608
608
  ##
609
609
 
610
610
  #--begin of require 'erubis/error'
611
611
  ##
612
612
  ## $Rev: 77 $
613
- ## $Release: 2.6.3 $
613
+ ## $Release: 2.6.4 $
614
614
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
615
615
  ##
616
616
 
@@ -636,7 +636,7 @@ end
636
636
  #--begin of require 'erubis/context'
637
637
  ##
638
638
  ## $Rev: 77 $
639
- ## $Release: 2.6.3 $
639
+ ## $Release: 2.6.4 $
640
640
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
641
641
  ##
642
642
 
@@ -921,7 +921,7 @@ end
921
921
  #--begin of require 'erubis/helper'
922
922
  ##
923
923
  ## $Rev: 89 $
924
- ## $Release: 2.6.3 $
924
+ ## $Release: 2.6.4 $
925
925
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
926
926
  ##
927
927
 
@@ -971,7 +971,7 @@ end
971
971
  #--begin of require 'erubis/enhancer'
972
972
  ##
973
973
  ## $Rev: 115 $
974
- ## $Release: 2.6.3 $
974
+ ## $Release: 2.6.4 $
975
975
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
976
976
  ##
977
977
 
@@ -1655,7 +1655,7 @@ end
1655
1655
  #--begin of require 'erubis/engine/eruby'
1656
1656
  ##
1657
1657
  ## $Rev: 77 $
1658
- ## $Release: 2.6.3 $
1658
+ ## $Release: 2.6.4 $
1659
1659
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
1660
1660
  ##
1661
1661
 
@@ -1791,7 +1791,7 @@ end
1791
1791
  #--begin of require 'erubis/local-setting'
1792
1792
  ##
1793
1793
  ## $Rev: 77 $
1794
- ## $Release: 2.6.3 $
1794
+ ## $Release: 2.6.4 $
1795
1795
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
1796
1796
  ##
1797
1797
 
@@ -1804,7 +1804,7 @@ end
1804
1804
  #--begin of require 'erubis/tiny'
1805
1805
  ##
1806
1806
  ## $Rev: 115 $
1807
- ## $Release: 2.6.3 $
1807
+ ## $Release: 2.6.4 $
1808
1808
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
1809
1809
  ##
1810
1810
 
@@ -1952,7 +1952,7 @@ end
1952
1952
  #--begin of require 'erubis/engine/enhanced'
1953
1953
  ##
1954
1954
  ## $Rev: 77 $
1955
- ## $Release: 2.6.3 $
1955
+ ## $Release: 2.6.4 $
1956
1956
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
1957
1957
  ##
1958
1958
 
@@ -2076,7 +2076,7 @@ end
2076
2076
  #--begin of require 'erubis/engine/optimized'
2077
2077
  ##
2078
2078
  ## $Rev: 77 $
2079
- ## $Release: 2.6.3 $
2079
+ ## $Release: 2.6.4 $
2080
2080
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2081
2081
  ##
2082
2082
 
@@ -2207,7 +2207,7 @@ end
2207
2207
  #--begin of require 'erubis/engine/ephp'
2208
2208
  ##
2209
2209
  ## $Rev: 77 $
2210
- ## $Release: 2.6.3 $
2210
+ ## $Release: 2.6.4 $
2211
2211
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2212
2212
  ##
2213
2213
 
@@ -2309,7 +2309,7 @@ end
2309
2309
  #--begin of require 'erubis/engine/ec'
2310
2310
  ##
2311
2311
  ## $Rev: 77 $
2312
- ## $Release: 2.6.3 $
2312
+ ## $Release: 2.6.4 $
2313
2313
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2314
2314
  ##
2315
2315
 
@@ -2429,7 +2429,7 @@ end
2429
2429
  #--begin of require 'erubis/engine/ejava'
2430
2430
  ##
2431
2431
  ## $Rev: 77 $
2432
- ## $Release: 2.6.3 $
2432
+ ## $Release: 2.6.4 $
2433
2433
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2434
2434
  ##
2435
2435
 
@@ -2542,7 +2542,7 @@ end
2542
2542
  #--begin of require 'erubis/engine/escheme'
2543
2543
  ##
2544
2544
  ## $Rev: 77 $
2545
- ## $Release: 2.6.3 $
2545
+ ## $Release: 2.6.4 $
2546
2546
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2547
2547
  ##
2548
2548
 
@@ -2659,7 +2659,7 @@ end
2659
2659
  #--begin of require 'erubis/engine/eperl'
2660
2660
  ##
2661
2661
  ## $Rev: 77 $
2662
- ## $Release: 2.6.3 $
2662
+ ## $Release: 2.6.4 $
2663
2663
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2664
2664
  ##
2665
2665
 
@@ -2757,7 +2757,7 @@ end
2757
2757
  #--begin of require 'erubis/engine/ejavascript'
2758
2758
  ##
2759
2759
  ## $Rev: 95 $
2760
- ## $Release: 2.6.3 $
2760
+ ## $Release: 2.6.4 $
2761
2761
  ## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
2762
2762
  ##
2763
2763
 
@@ -6,7 +6,7 @@
6
6
  ### usage: inline-require [-h] [-I path[,path2,..]] script
7
7
  ###
8
8
  ### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
9
- ### 2.6.3
9
+ ### 2.6.4
10
10
  ### $Rev: 2 $
11
11
  ###
12
12
 
@@ -88,6 +88,7 @@
88
88
  <div class="name-list">
89
89
  <a href="#M000001">compile</a>&nbsp;&nbsp;
90
90
  <a href="#M000002">compile</a>&nbsp;&nbsp;
91
+ <a href="#M000003">compile</a>&nbsp;&nbsp;
91
92
  </div>
92
93
  </div>
93
94
 
@@ -99,6 +100,9 @@
99
100
  <h3 class="section-bar">Included Modules</h3>
100
101
 
101
102
  <div id="includes-list">
103
+ <span class="include-name">Compilable</span>
104
+ <span class="include-name"><a href="../../Erubis/Helpers/RailsHelper/TemplateConverter.html">::Erubis::Helpers::RailsHelper::TemplateConverter</a></span>
105
+ <span class="include-name"><a href="../../Erubis/PreprocessingHelper.html">::Erubis::PreprocessingHelper</a></span>
102
106
  <span class="include-name">Compilable</span>
103
107
  <span class="include-name"><a href="../../Erubis/Helpers/RailsHelper/TemplateConverter.html">Erubis::Helpers::RailsHelper::TemplateConverter</a></span>
104
108
  <span class="include-name"><a href="../../Erubis/PreprocessingHelper.html">Erubis::PreprocessingHelper</a></span>
@@ -134,9 +138,10 @@
134
138
  onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
135
139
  <div class="method-source-code" id="M000001-source">
136
140
  <pre>
137
- <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 150</span>
141
+ <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 154</span>
138
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compile</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>
143
+ <span class="ruby-comment cmt">#src = ::ERB.new(&quot;&lt;% __in_erb_template=true %&gt;#{template.source}&quot;, nil, erb_trim_mode, '@output_buffer').src</span>
144
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">_convert_template</span>(<span class="ruby-node">&quot;&lt;% __in_erb_template=true %&gt;#{template.source}&quot;</span>)
140
145
  <span class="ruby-keyword kw">end</span>
141
146
  </pre>
142
147
  </div>
@@ -158,6 +163,29 @@
158
163
  <div class="method-source-code" id="M000002-source">
159
164
  <pre>
160
165
  <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 180</span>
166
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compile</span>(<span class="ruby-identifier">template</span>)
167
+ <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>
168
+ <span class="ruby-keyword kw">end</span>
169
+ </pre>
170
+ </div>
171
+ </div>
172
+ </div>
173
+
174
+ <div id="method-M000003" class="method-detail">
175
+ <a name="M000003"></a>
176
+
177
+ <div class="method-heading">
178
+ <a href="#M000003" class="method-signature">
179
+ <span class="method-name">compile</span><span class="method-args">(template)</span>
180
+ </a>
181
+ </div>
182
+
183
+ <div class="method-description">
184
+ <p><a class="source-toggle" href="#"
185
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
186
+ <div class="method-source-code" id="M000003-source">
187
+ <pre>
188
+ <span class="ruby-comment cmt"># File erubis/helpers/rails_helper.rb, line 210</span>
161
189
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compile</span>(<span class="ruby-identifier">template</span>)
162
190
  <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>
163
191
  <span class="ruby-keyword kw">end</span>
@@ -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.3 $' =~ /([.\d]+)/) &amp;&amp; $1</td>
331
+ <td class="context-item-value">('$Release: 2.6.4 $' =~ /([.\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="#M000009">add_postamble</a>&nbsp;&nbsp;
94
- <a href="#M000008">add_preamble</a>&nbsp;&nbsp;
93
+ <a href="#M000010">add_postamble</a>&nbsp;&nbsp;
94
+ <a href="#M000009">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-M000009" class="method-detail">
117
- <a name="M000009"></a>
116
+ <div id="method-M000010" class="method-detail">
117
+ <a name="M000010"></a>
118
118
 
119
119
  <div class="method-heading">
120
- <a href="#M000009" class="method-signature">
120
+ <a href="#M000010" 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('M000009-source');return false;">[Source]</a></p>
128
- <div class="method-source-code" id="M000009-source">
127
+ onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000010-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-M000008" class="method-detail">
141
- <a name="M000008"></a>
140
+ <div id="method-M000009" class="method-detail">
141
+ <a name="M000009"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000008" class="method-signature">
144
+ <a href="#M000009" 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('M000008-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000008-source">
151
+ onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000009-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="#M000191">add_postamble</a>&nbsp;&nbsp;
93
- <a href="#M000190">add_preamble</a>&nbsp;&nbsp;
92
+ <a href="#M000194">add_postamble</a>&nbsp;&nbsp;
93
+ <a href="#M000193">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-M000191" class="method-detail">
116
- <a name="M000191"></a>
115
+ <div id="method-M000194" class="method-detail">
116
+ <a name="M000194"></a>
117
117
 
118
118
  <div class="method-heading">
119
- <a href="#M000191" class="method-signature">
119
+ <a href="#M000194" 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('M000191-source');return false;">[Source]</a></p>
127
- <div class="method-source-code" id="M000191-source">
126
+ onclick="toggleCode('M000194-source');return false;">[Source]</a></p>
127
+ <div class="method-source-code" id="M000194-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-M000190" class="method-detail">
140
- <a name="M000190"></a>
139
+ <div id="method-M000193" class="method-detail">
140
+ <a name="M000193"></a>
141
141
 
142
142
  <div class="method-heading">
143
- <a href="#M000190" class="method-signature">
143
+ <a href="#M000193" 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('M000190-source');return false;">[Source]</a></p>
151
- <div class="method-source-code" id="M000190-source">
150
+ onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000193-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="#M000138">add_expr</a>&nbsp;&nbsp;
90
- <a href="#M000137">convert_input</a>&nbsp;&nbsp;
91
- <a href="#M000135">init_converter</a>&nbsp;&nbsp;
92
- <a href="#M000136">pattern_regexp</a>&nbsp;&nbsp;
89
+ <a href="#M000141">add_expr</a>&nbsp;&nbsp;
90
+ <a href="#M000140">convert_input</a>&nbsp;&nbsp;
91
+ <a href="#M000138">init_converter</a>&nbsp;&nbsp;
92
+ <a href="#M000139">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-M000138" class="method-detail">
160
- <a name="M000138"></a>
159
+ <div id="method-M000141" class="method-detail">
160
+ <a name="M000141"></a>
161
161
 
162
162
  <div class="method-heading">
163
- <a href="#M000138" class="method-signature">
163
+ <a href="#M000141" 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('M000138-source');return false;">[Source]</a></p>
174
- <div class="method-source-code" id="M000138-source">
173
+ onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000141-source">
175
175
  <pre>
176
176
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 177</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-M000137" class="method-detail">
193
- <a name="M000137"></a>
192
+ <div id="method-M000140" class="method-detail">
193
+ <a name="M000140"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000137" class="method-signature">
196
+ <a href="#M000140" 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('M000137-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000137-source">
203
+ onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000140-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>)
@@ -256,19 +256,19 @@ add expression code to src
256
256
  </div>
257
257
  </div>
258
258
 
259
- <div id="method-M000135" class="method-detail">
260
- <a name="M000135"></a>
259
+ <div id="method-M000138" class="method-detail">
260
+ <a name="M000138"></a>
261
261
 
262
262
  <div class="method-heading">
263
- <a href="#M000135" class="method-signature">
263
+ <a href="#M000138" class="method-signature">
264
264
  <span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
265
265
  </a>
266
266
  </div>
267
267
 
268
268
  <div class="method-description">
269
269
  <p><a class="source-toggle" href="#"
270
- onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
271
- <div class="method-source-code" id="M000135-source">
270
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
271
+ <div class="method-source-code" id="M000138-source">
272
272
  <pre>
273
273
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 104</span>
274
274
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
@@ -283,11 +283,11 @@ add expression code to src
283
283
 
284
284
  <h3 class="section-bar">Protected Instance methods</h3>
285
285
 
286
- <div id="method-M000136" class="method-detail">
287
- <a name="M000136"></a>
286
+ <div id="method-M000139" class="method-detail">
287
+ <a name="M000139"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="#M000136" class="method-signature">
290
+ <a href="#M000139" class="method-signature">
291
291
  <span class="method-name">pattern_regexp</span><span class="method-args">(pattern)</span>
292
292
  </a>
293
293
  </div>
@@ -297,8 +297,8 @@ add expression code to src
297
297
  return regexp of pattern to parse eRuby script
298
298
  </p>
299
299
  <p><a class="source-toggle" href="#"
300
- onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
301
- <div class="method-source-code" id="M000136-source">
300
+ onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
301
+ <div class="method-source-code" id="M000139-source">
302
302
  <pre>
303
303
  <span class="ruby-comment cmt"># File erubis/converter.rb, line 113</span>
304
304
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pattern_regexp</span>(<span class="ruby-identifier">pattern</span>)