Sha256: 63068a78929aadfe5f0bc5902d304dd3a2f4b8df3730879da81adcf535cc0576
Contents?: true
Size: 1.33 KB
Versions: 52
Compression:
Stored size: 1.33 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>type_description (ProDosFile)</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/apple2/ProDosFile.rb, line 81</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">type_description</span> <span class="ruby-identifier">extension</span>=<span class="ruby-constant">PRODOS_FILE_TYPES</span>[<span class="ruby-identifier">file_type</span>] <span class="ruby-identifier">extension</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-value">? </span> (<span class="ruby-value str">" $%02x:%04x"</span> <span class="ruby-operator">%</span> [<span class="ruby-identifier">file_type</span>,<span class="ruby-identifier">aux_code</span>] ) <span class="ruby-operator">:</span> (<span class="ruby-node">"#{extension}:%04x"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">aux_code</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
52 entries across 9 versions & 1 rubygems