doc/rdoc/more/classes/OpEsc.html in facets-2.4.5 vs doc/rdoc/more/classes/OpEsc.html in facets-2.5.0

- old
+ new

@@ -73,11 +73,11 @@ </div> <div class="sectiontitle">Methods</div> - <span style="padding-right: 5px;"><a href="#M001004">escape</a></span> + <span style="padding-right: 5px;"><a href="#M001080">escape</a></span> <div class="sectiontitle">Constants</div> @@ -101,25 +101,26 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M001004"></a><b>escape</b>(str) + <a name="M001080"></a><b>escape</b>(str) </div> <div class="description"> <p> -Applies operator <a href="OpEsc.html#M001004">escape</a>&#8216;s according +Applies operator <a href="OpEsc.html#M001080">escape</a>&#8216;s according to OPERATORS_ESCAPE_TABLE. </p> <pre> op_esc('-') #=&gt; &quot;op_minus&quot; - - CREDIT: Trans </pre> +<p> +CREDIT: Trans +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M001004_source')" id="l_M001004_source">+</a> ]</p> - <div id="M001004_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M001080_source')" id="l_M001080_source">+</a> ]</p> + <div id="M001080_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