doc/rdoc/more/classes/OpEsc.html in facets-2.4.2 vs doc/rdoc/more/classes/OpEsc.html in facets-2.4.3
- old
+ new
@@ -74,11 +74,11 @@
<div class="sectiontitle">Methods</div>
<ul>
- <li><a href="#M001010">escape</a></li>
+ <li><a href="#M001014">escape</a></li>
</ul>
@@ -103,25 +103,25 @@
<div class="sectiontitle">Public Class methods</div>
<div class="method">
<div class="title">
- <a name="M001010"></a><b>escape</b>(str)
+ <a name="M001014"></a><b>escape</b>(str)
</div>
<div class="description">
<p>
-Applies operator <a href="OpEsc.html#M001010">escape</a>‘s according
+Applies operator <a href="OpEsc.html#M001014">escape</a>‘s according
to OPERATORS_ESCAPE_TABLE.
</p>
<pre>
op_esc('-') #=> "op_minus"
CREDIT: Trans
</pre>
</div>
<div class="sourcecode">
- <p class="source-link">[ <a href="javascript:toggleSource('M001010_source')" id="l_M001010_source">show source</a> ]</p>
- <div id="M001010_source" class="dyn-source">
+ <p class="source-link">[ <a href="javascript:toggleSource('M001014_source')" id="l_M001014_source">show source</a> ]</p>
+ <div id="M001014_source" class="dyn-source">
<pre>
<span class="ruby-comment cmt"># File lib/more/facets/opesc.rb, line 40</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">str</span>)
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-constant">OPERATORS_REGEXP</span>){ <span class="ruby-constant">OPERATORS_ESC_TABLE</span>[<span class="ruby-identifier">$1</span>] }
<span class="ruby-keyword kw">end</span>
\ No newline at end of file