Module: ZPNG::Pixels::ScanLineEnum

Defined in:
lib/zpng/pixels.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



33
34
35
36
37
# File 'lib/zpng/pixels.rb', line 33

def each
  @scanline.width.times do |x|
    yield @scanline[x]
  end
end