Sha256: 4d4b9dee36fac3dd624e4c3b83a632ad68c10cf34945ce5dacf23590446376a2
Contents?: true
Size: 1.18 KB
Versions: 10
Compression:
Stored size: 1.18 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>to_listing (MBasic)</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/cpm/MBasic.rb, line 178</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_listing</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-value">0</span>]<span class="ruby-operator">==</span><span class="ruby-value">0x</span><span class="ruby-constant">FF</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">buffer_as_gbasic</span>(<span class="ruby-ivar">@contents</span>) <span class="ruby-keyword kw">else</span> <span class="ruby-ivar">@contents</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
10 entries across 10 versions & 1 rubygems