Class: Thaum::Rect
- Inherits:
-
Data
- Object
- Data
- Thaum::Rect
- Defined in:
- lib/thaum/rect.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height
4 5 6 |
# File 'lib/thaum/rect.rb', line 4 def height @height end |
#width ⇒ Object (readonly)
Returns the value of attribute width
4 5 6 |
# File 'lib/thaum/rect.rb', line 4 def width @width end |
#x ⇒ Object (readonly)
Returns the value of attribute x
4 5 6 |
# File 'lib/thaum/rect.rb', line 4 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y
4 5 6 |
# File 'lib/thaum/rect.rb', line 4 def y @y end |