Sha256: 479c445c3b0a14d5d44c4ab534542ce846783187416b50fea7635374f5db2419
Contents?: true
Size: 1 KB
Versions: 37
Compression:
Stored size: 1 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 (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 36</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">track_count</span> (<span class="ruby-ivar">@file_bytes</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-constant">ATR_HEADER_LENGTH</span>)<span class="ruby-operator">/</span>(<span class="ruby-ivar">@sector_size</span><span class="ruby-operator">*</span><span class="ruby-constant">ATR_SECTORS_PER_TRACK</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
37 entries across 9 versions & 1 rubygems