Sha256: da2f514fdf4d4c8edcd4e1d1e6fc9fb6cda240108c36f99ad3b14578f029a6b8
Contents?: true
Size: 1.67 KB
Versions: 6
Compression:
Stored size: 1.67 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>new (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 72</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file_bytes</span>,<span class="ruby-identifier">file_system</span>,<span class="ruby-identifier">image_format</span>,<span class="ruby-identifier">filename</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#@file_bytes=file_bytes</span> <span class="ruby-ivar">@file_system</span>=<span class="ruby-identifier">file_system</span> <span class="ruby-ivar">@image_format</span>=<span class="ruby-identifier">image_format</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_bytes</span>) <span class="ruby-ivar">@filename</span>=<span class="ruby-identifier">filename</span> <span class="ruby-ivar">@files</span>=<span class="ruby-identifier">file_system</span>.<span class="ruby-identifier">files</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">compatability_score</span><span class="ruby-operator">></span><span class="ruby-value">0</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
6 entries across 6 versions & 1 rubygems