Sha256: dba07f4b9dd22f13a678cb93fb1c7d0ad39b407fb9955a901d72cd7706227bd9
Contents?: true
Size: 1.43 KB
Versions: 9
Compression:
Stored size: 1.43 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>compatability_score (RawDisk)</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/file_systems/RawDisk.rb, line 16</span> <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">compatability_score</span>(<span class="ruby-identifier">file_system_image</span>) <span class="ruby-comment cmt">#if the filesystem on a DSK is RAW, don't worry about sector interleaves</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_system_image</span>.<span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">instance_of?</span>(<span class="ruby-constant">A2Dsk</span>) <span class="ruby-keyword kw">return</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">else</span> <span class="ruby-keyword kw">return</span> <span class="ruby-value">0</span><span class="ruby-value">.1</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
9 entries across 9 versions & 1 rubygems