Class: Thaum::Rect

Inherits:
Data
  • Object
show all
Defined in:
lib/thaum/rect.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



4
5
6
# File 'lib/thaum/rect.rb', line 4

def height
  @height
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



4
5
6
# File 'lib/thaum/rect.rb', line 4

def width
  @width
end

#xObject (readonly)

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



4
5
6
# File 'lib/thaum/rect.rb', line 4

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



4
5
6
# File 'lib/thaum/rect.rb', line 4

def y
  @y
end