Sha256: 74f75ff530b49bcbc38bf64e6a4130dbae4ac53af4a1dd59d85ba1761a2d19d7

Contents?: true

Size: 1.67 KB

Versions: 11

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>all_possible_extensions (ImageFormat)</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/ImageFormat.rb, line 36</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_possible_extensions</span>  
  <span class="ruby-ivar">@@all_possible_extensions</span>= <span class="ruby-constant">ImageFormat</span>.<span class="ruby-identifier">all_image_formats</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span> <span class="ruby-identifier">format</span>.<span class="ruby-identifier">possible_extensions</span>}.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">ext</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ext</span>.<span class="ruby-identifier">downcase</span>} <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@all_possible_extensions</span>.<span class="ruby-identifier">nil?</span>
  <span class="ruby-ivar">@@all_possible_extensions</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

11 entries across 10 versions & 1 rubygems

Version Path
ripxplore-0.0.2 doc/classes/ImageFormat.src/M000224.html
ripxplore-0.0.2 doc/classes/ImageFormat.src/M000150.html
ripxplore-0.4.0 doc/classes/ImageFormat.src/M000113.html
ripxplore-0.0.1 doc/classes/ImageFormat.src/M000150.html
ripxplore-0.5.0 doc/classes/ImageFormat.src/M000113.html
ripxplore-0.5.1 doc/classes/ImageFormat.src/M000113.html
ripxplore-0.5.2 doc/classes/ImageFormat.src/M000113.html
ripxplore-0.7.0 doc/classes/ImageFormat.src/M000113.html
ripxplore-0.7.1 doc/classes/ImageFormat.src/M000118.html
ripxplore-0.7.2 doc/classes/ImageFormat.src/M000118.html
ripxplore-0.8.0 doc/classes/ImageFormat.src/M000118.html