Sha256: 58b3437213cfb2ee743ae698e42c003650ba32da1ede6061b7ad17644a49351c
Contents?: true
Size: 1.33 KB
Versions: 18
Compression:
Stored size: 1.33 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>track_count (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 34</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">track_count</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@track_count</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">@track_count</span>=<span class="ruby-identifier">sector_0</span>[<span class="ruby-value">0x11</span>]<span class="ruby-operator">*</span><span class="ruby-identifier">sector_0</span>[<span class="ruby-value">0x12</span>] <span class="ruby-keyword kw">end</span> <span class="ruby-ivar">@track_count</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
18 entries across 9 versions & 1 rubygems