Method: OrangeZest::Box#initialize

Defined in:
lib/orange_zest/box.rb

#initialize(origin, width, height) ⇒ Box

Returns a new instance of Box.



4
5
6
7
8
# File 'lib/orange_zest/box.rb', line 4

def initialize(origin, width, height)
  @origin = origin
  @width = width
  @height = height
end