class BoundingBox
  attr_reader :x, :y, :width, :height

  def initialize(x, y, width, height)
    @x, @y, @width, @height = [x, y, width, height]
  end
end

BoundingBox = Struct.new(:x, :y, :width, :height)

Use a Struct for BoundingBox
Use a Struct for BoundingBox
