doc/classes/C64.src/M000474.html in ripxplore-0.17.0 vs doc/classes/C64.src/M000474.html in ripxplore-0.17.1

- old
+ new

@@ -3,20 +3,17 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>s_to_petscii (C64)</title> + <title>symbols (C64)</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/C64.rb, line 56</span> -<span class="ruby-keyword kw">def</span> <span class="ruby-constant">C64</span>.<span class="ruby-identifier">s_to_petscii</span>(<span class="ruby-identifier">s</span>) - <span class="ruby-identifier">r</span>=<span class="ruby-value str">&quot;&quot;</span> - <span class="ruby-identifier">s</span>.<span class="ruby-identifier">each_byte</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">b</span><span class="ruby-operator">|</span> - <span class="ruby-identifier">r</span><span class="ruby-operator">+=</span><span class="ruby-identifier">to_petscii</span>(<span class="ruby-identifier">b</span>) - <span class="ruby-keyword kw">end</span> - <span class="ruby-identifier">r</span> + <pre><span class="ruby-comment cmt"># File lib/host_systems/C64.rb, line 65</span> +<span class="ruby-keyword kw">def</span> <span class="ruby-constant">C64</span>.<span class="ruby-identifier">symbols</span> + <span class="ruby-ivar">@@symbols</span>=<span class="ruby-constant">YAML</span><span class="ruby-operator">::</span><span class="ruby-identifier">load</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>)<span class="ruby-operator">+</span><span class="ruby-value str">&quot;/c64_symbols.yaml&quot;</span>)) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@symbols</span>.<span class="ruby-identifier">nil?</span> + <span class="ruby-ivar">@@symbols</span> <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file