Sha256: 98e8434443a5dab5a434d14772e7c516b91148f993720380e217e4c091578918

Contents?: true

Size: 1.25 KB

Versions: 10

Compression:

Stored size: 1.25 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 (Atr)</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/Atr.rb, line 30</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">first_sector</span>=<span class="ruby-identifier">track_no</span><span class="ruby-operator">*</span><span class="ruby-constant">ATR_SECTORS_PER_TRACK</span>
  (<span class="ruby-identifier">first_sector</span><span class="ruby-operator">..</span><span class="ruby-identifier">first_sector</span><span class="ruby-operator">+</span><span class="ruby-constant">ATR_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

10 entries across 10 versions & 1 rubygems

Version Path
ripxplore-0.0.1 doc/classes/Atr.src/M000210.html
ripxplore-0.0.2 doc/classes/Atr.src/M000210.html
ripxplore-0.4.0 doc/classes/Atr.src/M000202.html
ripxplore-0.5.1 doc/classes/Atr.src/M000202.html
ripxplore-0.5.0 doc/classes/Atr.src/M000202.html
ripxplore-0.7.0 doc/classes/Atr.src/M000202.html
ripxplore-0.5.2 doc/classes/Atr.src/M000202.html
ripxplore-0.7.1 doc/classes/Atr.src/M000209.html
ripxplore-0.7.2 doc/classes/Atr.src/M000209.html
ripxplore-0.8.0 doc/classes/Atr.src/M000209.html