Sha256: b5932c1f9f495d0a2918f8a1d81b7ed8ed2bc4c58342dc80a048e4b42f82215f

Contents?: true

Size: 1.22 KB

Versions: 9

Compression:

Stored size: 1.22 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>sectors_in_track (Ti99Dsk)</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/image_formats/Ti99Dsk.rb, line 29</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sectors_in_track</span>(<span class="ruby-identifier">track_no</span>)
  (<span class="ruby-identifier">track_no</span><span class="ruby-operator">*</span><span class="ruby-identifier">sectors_per_track</span><span class="ruby-operator">..</span>((<span class="ruby-identifier">track_no</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>)<span class="ruby-operator">*</span><span class="ruby-identifier">sectors_per_track</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>)).<span class="ruby-identifier">collect</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ripxplore-0.0.2 doc/classes/Ti99Dsk.src/M000018.html
ripxplore-0.4.0 doc/classes/Ti99Dsk.src/M000071.html
ripxplore-0.5.1 doc/classes/Ti99Dsk.src/M000071.html
ripxplore-0.5.0 doc/classes/Ti99Dsk.src/M000071.html
ripxplore-0.7.0 doc/classes/Ti99Dsk.src/M000071.html
ripxplore-0.5.2 doc/classes/Ti99Dsk.src/M000071.html
ripxplore-0.7.1 doc/classes/Ti99Dsk.src/M000075.html
ripxplore-0.7.2 doc/classes/Ti99Dsk.src/M000075.html
ripxplore-0.8.0 doc/classes/Ti99Dsk.src/M000075.html