Sha256: 66710c77a56d78aa9d8d7045dabea9fa6d818f56dd444b1e49403a37b572be39

Contents?: true

Size: 1.45 KB

Versions: 40

Compression:

Stored size: 1.45 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>to_ascii (Zx81)</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/host_systems/Zx81.rb, line 210</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_ascii</span>(<span class="ruby-identifier">b</span>)
  <span class="ruby-identifier">token</span>=<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">b</span>]
  <span class="ruby-keyword kw">if</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">token</span>.<span class="ruby-identifier">nil?</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">==</span><span class="ruby-value">1</span>) <span class="ruby-keyword kw">then</span>
    <span class="ruby-identifier">token</span>
  <span class="ruby-keyword kw">else</span>
    <span class="ruby-value str">&quot;.&quot;</span>
  <span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

40 entries across 9 versions & 1 rubygems

Version Path
ripxplore-0.17.1 doc/classes/Zx81.src/M000324.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000248.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000238.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000329.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000339.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000245.html
ripxplore-0.17.1 doc/classes/Zx81.src/M000304.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000324.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000329.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000238.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000246.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000248.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000304.html
ripxplore-0.17.0 doc/classes/Zx81.src/M000339.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000248.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000238.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000324.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000329.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000304.html
ripxplore-0.16.1 doc/classes/Zx81.src/M000339.html