Sha256: 967030a16ca58ad15e7009f9b52577e8c376a653c33d7cef61db8328d0fff719
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 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>point_sizes (C64GeosFont)</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/native_file_types/c64/C64GeosFont.rb, line 40</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point_sizes</span> <span class="ruby-identifier">r</span>=[] <span class="ruby-ivar">@contents</span>.<span class="ruby-identifier">length</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">record_no</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">record_no</span><span class="ruby-operator">==</span><span class="ruby-value">0</span> <span class="ruby-identifier">r</span><span class="ruby-operator"><<</span><span class="ruby-identifier">record_no</span><span class="ruby-operator">-</span><span class="ruby-value">1</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">record_no</span>].<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">end</span> <span class="ruby-identifier">r</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ripxplore-0.12.0 | doc/classes/C64GeosFont.src/M000183.html |