Sha256: c4ae2dff6e9e00095b6b90ed078efdbd6d7b40ee85942299364edce89f555814
Contents?: true
Size: 1.28 KB
Versions: 17
Compression:
Stored size: 1.28 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_per_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 43</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sectors_per_track</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@sectors_per_track</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sector_0</span>=<span class="ruby-identifier">get_sector</span>(<span class="ruby-value">0</span>,<span class="ruby-value">0</span>) <span class="ruby-ivar">@sectors_per_track</span>=<span class="ruby-identifier">sector_0</span>[<span class="ruby-value">0x0</span><span class="ruby-constant">C</span>] <span class="ruby-keyword kw">end</span> <span class="ruby-ivar">@sectors_per_track</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
17 entries across 9 versions & 1 rubygems