Sha256: 0a26debdf4df3cf00f6c8592cf1e59323fdb3ed29972c9af08169c3f43c5b75b
Contents?: true
Size: 933 Bytes
Versions: 40
Compression:
Stored size: 933 Bytes
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 (D81)</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/D81.rb, line 33</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">track_count</span> <span class="ruby-identifier">file_bytes</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">/</span>(<span class="ruby-constant">D81_SECTORS_PER_TRACK</span><span class="ruby-operator">*</span><span class="ruby-value">256</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
40 entries across 9 versions & 1 rubygems