Sha256: 399bebfe6e5a42d083c626dd042bcbb5a8c0291e70fbad24c3b3cb25437582f8

Contents?: true

Size: 1.5 KB

Versions: 18

Compression:

Stored size: 1.5 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>each (PNG::Canvas)</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/PatchedPNG.rb, line 221</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
      <span class="ruby-ivar">@data</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">row</span>, <span class="ruby-identifier">y</span><span class="ruby-operator">|</span>
        <span class="ruby-identifier">row</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">pixel</span>, <span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
          <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">color</span>
        <span class="ruby-keyword kw">end</span>
      <span class="ruby-keyword kw">end</span>
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

18 entries across 9 versions & 1 rubygems

Version Path
ripxplore-0.17.1 doc/classes/PNG/Canvas.src/M000440.html
ripxplore-0.17.1 doc/classes/PNG/Canvas.src/M000444.html
ripxplore-0.17.1 doc/classes/PNG/Canvas.src/M000427.html
ripxplore-0.17.1 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.17.0 doc/classes/PNG/Canvas.src/M000444.html
ripxplore-0.17.0 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.17.0 doc/classes/PNG/Canvas.src/M000428.html
ripxplore-0.17.0 doc/classes/PNG/Canvas.src/M000440.html
ripxplore-0.16.1 doc/classes/PNG/Canvas.src/M000440.html
ripxplore-0.16.1 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.16.1 doc/classes/PNG/Canvas.src/M000444.html
ripxplore-0.15.1 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.15.1 doc/classes/PNG/Canvas.src/M000446.html
ripxplore-0.14.1 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.14.0 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.13.0 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.12.0 doc/classes/PNG/Canvas.src/M000022.html
ripxplore-0.11.0 doc/classes/PNG/Canvas.src/M000022.html