Sha256: 8735e07a75e918a17586dcaabc9415b0c34fcace11b693d000a198ac6f693d9f

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>without_punctuation (String)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/classifier/extensions/word_hash.rb, line 13</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">without_punctuation</span>
    <span class="ruby-identifier">tr</span>( <span class="ruby-value str">',?.!;:&quot;@#$%^&amp;*()_=+[]{}\|&lt;&gt;/`~'</span>, <span class="ruby-value str">&quot; &quot;</span> ) .<span class="ruby-identifier">tr</span>( <span class="ruby-value str">&quot;'\-&quot;</span>, <span class="ruby-value str">&quot;&quot;</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
classifier-1.2.0 doc/classes/String.src/M000002.html
classifier-1.3.0 doc/classes/String.src/M000008.html