lib/chunky_png/canvas.rb
# Throws an exception if the y-coordinate is out of bounds.
Throws an exception if the y-coordinate is out of bounds.
Throws an exception if the y - coordinate is out of bounds .
def assert_y!(y)
      unless include_y?(y)
        raise ChunkyPNG::OutOfBounds, "Row index #{y} out of bounds!"
      end
      true
    end
def assert_y! ( y ) unless include_y? ( y ) raise ChunkyPNG :: OutOfBounds , "Row index #{y} out of bounds!" end true end
Throws an exception if the y-coordinate is out of bounds.
Throws an exception if the y - coordinate is out of bounds .
y
<not_specific>