Sha256: 091d5093f52ba7f67783684fc1e0a435fc4b2ebf11f6f3569bcf4e808ff24c97

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

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

<html>
<head>
  <title>to_searchtext (Keystone::StringUtil)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <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/keystone/string_util.rb, line 68</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_searchtext</span>(<span class="ruby-identifier">str</span>)
      <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">downcase_roma_number</span>(<span class="ruby-constant">Moji</span>.<span class="ruby-identifier">han_to_zen</span>(
          <span class="ruby-comment cmt">#Moji.zen_to_han(str,Moji::ZEN_ALNUM | Moji::ZEN_SYMBOL).downcase,Moji::HAN_KATA | Moji::HAN_JSYMBOL).tr(&quot;ー~/&quot;,&quot;ー~/&quot;)</span>
          <span class="ruby-constant">Moji</span>.<span class="ruby-identifier">zen_to_han</span>(<span class="ruby-identifier">str</span>,<span class="ruby-constant">Moji</span><span class="ruby-operator">::</span><span class="ruby-constant">ZEN_ALNUM</span> <span class="ruby-operator">|</span> <span class="ruby-constant">Moji</span><span class="ruby-operator">::</span><span class="ruby-constant">ZEN_SYMBOL</span>).<span class="ruby-identifier">downcase</span>,<span class="ruby-constant">Moji</span><span class="ruby-operator">::</span><span class="ruby-constant">HAN_KATA</span> <span class="ruby-operator">|</span> <span class="ruby-constant">Moji</span><span class="ruby-operator">::</span><span class="ruby-constant">HAN_JSYMBOL</span>)
      )
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keystone-0.0.32 doc/classes/Keystone/StringUtil.src/M000063.html
keystone-0.0.31 doc/classes/Keystone/StringUtil.src/M000063.html
keystone-0.0.30 doc/classes/Keystone/StringUtil.src/M000063.html
keystone-0.0.29 doc/classes/Keystone/StringUtil.src/M000063.html