doc/classes/FileSystemImage.src/M000298.html in ripxplore-0.12.0 vs doc/classes/FileSystemImage.src/M000298.html in ripxplore-0.13.0

- old
+ new

@@ -3,16 +3,25 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>track_count (FileSystemImage)</title> + <title>compatability_score (FileSystemImage)</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/FileSystemImage.rb, line 75</span> -<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">track_count</span> - <span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">track_count</span> + <pre><span class="ruby-comment cmt"># File lib/FileSystemImage.rb, line 48</span> +<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compatability_score</span> + <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@compatability_score</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">then</span> + <span class="ruby-identifier">image_format_compatability_score</span>=<span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">compatability_score</span>(<span class="ruby-keyword kw">self</span>) + <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">image_format_compatability_score</span><span class="ruby-operator">&gt;</span><span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span> <span class="ruby-comment cmt">#if we don't have a valid image_format, don't bother checking the file_system! </span> + <span class="ruby-identifier">file_system_compatability_score</span>=<span class="ruby-identifier">file_system</span>.<span class="ruby-identifier">compatability_score</span>(<span class="ruby-keyword kw">self</span>) + <span class="ruby-ivar">@compatability_score</span>=<span class="ruby-identifier">file_system_compatability_score</span><span class="ruby-operator">*</span><span class="ruby-identifier">image_format_compatability_score</span> + <span class="ruby-keyword kw">else</span> + <span class="ruby-ivar">@compatability_score</span>=<span class="ruby-value">0</span> + <span class="ruby-keyword kw">end</span> + <span class="ruby-keyword kw">end</span> + <span class="ruby-ivar">@compatability_score</span> <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file