Sha256: 56012b7c82cf284b82e9692be9ffe3b7b77ef1fc6a412fed5c1e70841e847c49

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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>record_nos (C64GeosFile)</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/C64GeosFile.rb, line 45</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">record_nos</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-identifier">r</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-identifier">record_no</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

2 entries across 2 versions & 1 rubygems

Version Path
ripxplore-0.13.0 doc/classes/C64GeosFile.src/M000146.html
ripxplore-0.12.0 doc/classes/C64GeosFile.src/M000146.html