doc/classes/C64GeosFile.src/M000141.html in ripxplore-0.13.0 vs doc/classes/C64GeosFile.src/M000141.html in ripxplore-0.14.0
- old
+ new
@@ -3,17 +3,16 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>parent_application (C64GeosFile)</title>
+ <title>type_description (C64GeosFile)</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/native_file_types/c64/C64GeosFile.rb, line 19</span>
-<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parent_application</span>
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@contents</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Array</span>) <span class="ruby-operator">&&</span> <span class="ruby-operator">!</span><span class="ruby-identifier">info_block</span>.<span class="ruby-identifier">nil?</span>
- <span class="ruby-identifier">info_block</span>[<span class="ruby-value">0x75</span>,<span class="ruby-value">16</span>].<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">"A*"</span>)[<span class="ruby-value">0</span>]
+ <pre><span class="ruby-comment cmt"># File lib/native_file_types/c64/C64GeosFile.rb, line 15</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">type_description</span>
+ <span class="ruby-node">"#{ aux_code.to_s}"</span> <span class="ruby-operator">+</span> ((<span class="ruby-identifier">aux_code</span><span class="ruby-operator">==</span><span class="ruby-identifier">:application_data</span>) <span class="ruby-operator">?</span> <span class="ruby-node">" (#{parent_application}/#{header_filename})"</span> <span class="ruby-operator">:</span> <span class="ruby-value str">""</span> )
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file