Class: Muxr::LayoutManager::Rect
- Inherits:
-
Struct
- Object
- Struct
- Muxr::LayoutManager::Rect
- Defined in:
- lib/muxr/layout_manager.rb
Instance Attribute Summary collapse
-
#h ⇒ Object
Returns the value of attribute h.
-
#w ⇒ Object
Returns the value of attribute w.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
Instance Attribute Details
#h ⇒ Object
Returns the value of attribute h
7 8 9 |
# File 'lib/muxr/layout_manager.rb', line 7 def h @h end |
#w ⇒ Object
Returns the value of attribute w
7 8 9 |
# File 'lib/muxr/layout_manager.rb', line 7 def w @w end |
#x ⇒ Object
Returns the value of attribute x
7 8 9 |
# File 'lib/muxr/layout_manager.rb', line 7 def x @x end |
#y ⇒ Object
Returns the value of attribute y
7 8 9 |
# File 'lib/muxr/layout_manager.rb', line 7 def y @y end |
Instance Method Details
#to_a ⇒ Object
8 9 10 |
# File 'lib/muxr/layout_manager.rb', line 8 def to_a [x, y, w, h] end |