rdoc/String.html in ofac-1.3.2 vs rdoc/String.html in ofac-2.0.0
- old
+ new
@@ -2,11 +2,11 @@
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
-<title>class String - ofac 1.3.1</title>
+<title>class String - ofac 2.0.0</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
<script type="text/javascript">
var rdoc_rel_prefix = "./";
@@ -41,10 +41,12 @@
<ul id="search-results" class="initially-hidden"></ul>
</nav>
+
+
<div id="file-metadata">
<nav id="file-list-section" class="section">
<h3 class="section-header">Defined In</h3>
<ul>
<li>lib/ofac/ruby_string_extensions.rb
@@ -62,19 +64,20 @@
<p class="link">Object
</nav>
+
<!-- Method Quickref -->
<nav id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
- <li><a href="#method-i-ofac_soundex">#ofac_soundex</a>
+ <li ><a href="#method-i-ofac_soundex">#ofac_soundex</a>
- <li><a href="#method-i-ofac_sounds_like">#ofac_sounds_like</a>
+ <li ><a href="#method-i-ofac_sounds_like">#ofac_sounds_like</a>
</ul>
</nav>
</div>
@@ -93,22 +96,22 @@
<nav id="classindex-section" class="section project-section">
<h3 class="section-header">Class and Module Index</h3>
<ul class="link-list">
- <li><a href="./OfacMigration.html">OfacMigration</a>
-
- <li><a href="./OfacMigration/Generators.html">OfacMigration::Generators</a>
-
- <li><a href="./OfacMigration/Generators/BuildGenerator.html">OfacMigration::Generators::BuildGenerator</a>
-
<li><a href="./CreateOfacSdns.html">CreateOfacSdns</a>
<li><a href="./Ofac.html">Ofac</a>
<li><a href="./OfacMatch.html">OfacMatch</a>
+ <li><a href="./OfacMigration.html">OfacMigration</a>
+
+ <li><a href="./OfacMigration/Generators.html">OfacMigration::Generators</a>
+
+ <li><a href="./OfacMigration/Generators/BuildGenerator.html">OfacMigration::Generators::BuildGenerator</a>
+
<li><a href="./OfacSdn.html">OfacSdn</a>
<li><a href="./OfacSdnLoader.html">OfacSdnLoader</a>
<li><a href="./String.html">String</a>
@@ -175,30 +178,33 @@
<div id="method-i-ofac_soundex" class="method-detail ">
<div class="method-heading">
<span class="method-name">ofac_soundex</span><span
class="method-args">(census = true)</span>
+
<span class="method-click-advice">click to toggle source</span>
+
</div>
<div class="method-description">
<p>desc: <a
href="http://en.wikipedia.org/wiki/Soundex">en.wikipedia.org/wiki/Soundex</a></p>
+
<div class="method-source-code" id="ofac_soundex-source">
<pre><span class="ruby-comment"># File lib/ofac/ruby_string_extensions.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ofac_soundex</span>(<span class="ruby-identifier">census</span> = <span class="ruby-keyword">true</span>)
<span class="ruby-identifier">str</span> = <span class="ruby-identifier">upcase</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-constant">Ofac_SoundexCharsDel</span>).<span class="ruby-identifier">squeeze</span>
<span class="ruby-identifier">str</span>[<span class="ruby-value">0</span> <span class="ruby-operator">..</span> <span class="ruby-value">0</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span>[<span class="ruby-value">1</span> <span class="ruby-operator">..</span> <span class="ruby-value">-1</span>].
<span class="ruby-identifier">delete</span>(<span class="ruby-constant">Ofac_SoundexCharsEx</span>).
<span class="ruby-identifier">tr</span>(<span class="ruby-constant">Ofac_SoundexChars</span>, <span class="ruby-constant">Ofac_SoundexNums</span>)[<span class="ruby-value">0</span> <span class="ruby-operator">..</span> (<span class="ruby-identifier">census</span> <span class="ruby-operator">?</span> <span class="ruby-value">2</span> <span class="ruby-operator">:</span> <span class="ruby-value">-1</span>)].
- <span class="ruby-identifier">ljust</span>(<span class="ruby-value">3</span>, <span class="ruby-string">'0'</span>) <span class="ruby-keyword">rescue</span> <span class="ruby-string">''</span>
+ <span class="ruby-identifier">ljust</span>(<span class="ruby-value">3</span>, <span class="ruby-string">'0'</span>) <span class="ruby-keyword">rescue</span> <span class="ruby-string">''</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- ofac_soundex-source -->
</div>
@@ -211,18 +217,21 @@
<div id="method-i-ofac_sounds_like" class="method-detail ">
<div class="method-heading">
<span class="method-name">ofac_sounds_like</span><span
class="method-args">(other, census = true)</span>
+
<span class="method-click-advice">click to toggle source</span>
+
</div>
<div class="method-description">
+
<div class="method-source-code" id="ofac_sounds_like-source">
<pre><span class="ruby-comment"># File lib/ofac/ruby_string_extensions.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ofac_sounds_like</span>(<span class="ruby-identifier">other</span>, <span class="ruby-identifier">census</span> = <span class="ruby-keyword">true</span>)
@@ -245,9 +254,9 @@
</div><!-- documentation -->
<footer id="validator-badges">
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>