# File lib/PatchedPNG.rb, line 212 def []=(x, y, color) raise "bad x value #{x} >= #{@height}" if x >= @height raise "bad y value #{y} >= #{@width}" if y >= @width @data[y][x] = color end