class Lebowski::Rect

Attributes

height[RW]
width[RW]
x[RW]
y[RW]

Public Class Methods

new(width, height, x, y) click to toggle source
# File lib/lebowski/core.rb, line 7
def initialize(width, height, x, y)
  @width = width
  @height = height
  @x = x
  @y = y
end

Public Instance Methods

to_s() click to toggle source
# File lib/lebowski/core.rb, line 14
def to_s()
  return "Rect<width: #{width}, height: #{height},  x: #{x}, y: #{y}>"
end