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