doc-api/classes/Erubis/PrintOutEnhancer.html in erubis-2.1.0 vs doc-api/classes/Erubis/PrintOutEnhancer.html in erubis-2.2.0
- old
+ new
@@ -87,15 +87,15 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000083">add_expr_escaped</a>
- <a href="#M000082">add_expr_literal</a>
- <a href="#M000084">add_postamble</a>
- <a href="#M000080">add_preamble</a>
- <a href="#M000081">add_text</a>
+ <a href="#M000087">add_expr_escaped</a>
+ <a href="#M000086">add_expr_literal</a>
+ <a href="#M000088">add_postamble</a>
+ <a href="#M000084">add_preamble</a>
+ <a href="#M000085">add_text</a>
</div>
</div>
</div>
@@ -113,113 +113,113 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000083" class="method-detail">
- <a name="M000083"></a>
+ <div id="method-M000087" class="method-detail">
+ <a name="M000087"></a>
<div class="method-heading">
- <a href="#M000083" class="method-signature">
+ <a href="#M000087" class="method-signature">
<span class="method-name">add_expr_escaped</span><span class="method-args">(src, code)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000083-source">
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000087-source">
<pre>
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 103</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_escaped</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
<span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">' print '</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">escaped_expr</span>(<span class="ruby-identifier">code</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">';'</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000082" class="method-detail">
- <a name="M000082"></a>
+ <div id="method-M000086" class="method-detail">
+ <a name="M000086"></a>
<div class="method-heading">
- <a href="#M000082" class="method-signature">
+ <a href="#M000086" class="method-signature">
<span class="method-name">add_expr_literal</span><span class="method-args">(src, code)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000082-source">
+ onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000086-source">
<pre>
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 99</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_literal</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
<span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">' print(('</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">code</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">').to_s);'</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000084" class="method-detail">
- <a name="M000084"></a>
+ <div id="method-M000088" class="method-detail">
+ <a name="M000088"></a>
<div class="method-heading">
- <a href="#M000084" class="method-signature">
+ <a href="#M000088" class="method-signature">
<span class="method-name">add_postamble</span><span class="method-args">(src)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000084-source">
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000088-source">
<pre>
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 107</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_postamble</span>(<span class="ruby-identifier">src</span>)
<span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">src</span>[<span class="ruby-value">-1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">?\n</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000080" class="method-detail">
- <a name="M000080"></a>
+ <div id="method-M000084" class="method-detail">
+ <a name="M000084"></a>
<div class="method-heading">
- <a href="#M000080" class="method-signature">
+ <a href="#M000084" class="method-signature">
<span class="method-name">add_preamble</span><span class="method-args">(src)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000080-source">
+ onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000084-source">
<pre>
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 92</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_preamble</span>(<span class="ruby-identifier">src</span>)
<span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000081" class="method-detail">
- <a name="M000081"></a>
+ <div id="method-M000085" class="method-detail">
+ <a name="M000085"></a>
<div class="method-heading">
- <a href="#M000081" class="method-signature">
+ <a href="#M000085" class="method-signature">
<span class="method-name">add_text</span><span class="method-args">(src, text)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000081-source">
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000085-source">
<pre>
<span class="ruby-comment cmt"># File erubis/enhancer.rb, line 95</span>
<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>)
<span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">" print '"</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">escape_text</span>(<span class="ruby-identifier">text</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"';"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">text</span>.<span class="ruby-identifier">empty?</span>
<span class="ruby-keyword kw">end</span>
\ No newline at end of file