Sha256: 72c0acfb81c94316889588eb1e42bc934134cb2e3d2c046c111d88d0d22d5e54

Contents?: true

Size: 1.3 KB

Versions: 9

Compression:

Stored size: 1.3 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>cache_name_for_native_file (FileCache)</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/FileCache.rb, line 34</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cache_name_for_native_file</span>(<span class="ruby-identifier">native_file</span>,<span class="ruby-identifier">extension</span>)
    <span class="ruby-identifier">image</span>=<span class="ruby-identifier">native_file</span>.<span class="ruby-identifier">file_system_image</span>
    <span class="ruby-identifier">index</span>=<span class="ruby-identifier">image</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">native_file</span>)
    <span class="ruby-node">&quot;#{native_file_cache_dir}/#{Digest::MD5.hexdigest(image.filename)}-#{index}.#{extension}&quot;</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
ripxplore-0.4.0 doc/classes/FileCache.src/M000013.html
ripxplore-0.5.1 doc/classes/FileCache.src/M000013.html
ripxplore-0.5.0 doc/classes/FileCache.src/M000013.html
ripxplore-0.5.2 doc/classes/FileCache.src/M000013.html
ripxplore-0.7.0 doc/classes/FileCache.src/M000013.html
ripxplore-0.7.0 doc/classes/FileCache.src/M000043.html
ripxplore-0.7.1 doc/classes/FileCache.src/M000258.html
ripxplore-0.7.2 doc/classes/FileCache.src/M000258.html
ripxplore-0.8.0 doc/classes/FileCache.src/M000258.html