Class: RatatuiRuby::Draw::CellCmd
- Inherits:
-
Data
- Object
- Data
- RatatuiRuby::Draw::CellCmd
- Defined in:
- lib/ratatui_ruby/draw.rb
Overview
Command to draw a cell at the given coordinates.
- x
-
X coordinate (absolute).
- y
-
Y coordinate (absolute).
- cell
-
The Cell to draw.
Instance Attribute Summary collapse
-
#cell ⇒ Object
readonly
Returns the value of attribute cell.
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Instance Attribute Details
#cell ⇒ Object (readonly)
Returns the value of attribute cell
46 47 48 |
# File 'lib/ratatui_ruby/draw.rb', line 46 def cell @cell end |
#x ⇒ Object (readonly)
Returns the value of attribute x
46 47 48 |
# File 'lib/ratatui_ruby/draw.rb', line 46 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y
46 47 48 |
# File 'lib/ratatui_ruby/draw.rb', line 46 def y @y end |