Sha256: 9b108be516d6a29e63ee9bc6ed900335b23e423f30900d74bb1891d131650c14
Contents?: true
Size: 1.36 KB
Versions: 30
Compression:
Stored size: 1.36 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>set_sector (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 69</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>,<span class="ruby-identifier">sector_contents</span>) <span class="ruby-identifier">raise</span> <span class="ruby-node">"#{image_format} image updates not supported (yet)"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:set_sector</span>) <span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">set_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>,<span class="ruby-identifier">sector_contents</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
30 entries across 9 versions & 1 rubygems