Class: RatatuiRuby::Draw::CellCmd

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#cellObject (readonly)

Returns the value of attribute cell

Returns:

  • (Object)

    the current value of cell



46
47
48
# File 'lib/ratatui_ruby/draw.rb', line 46

def cell
  @cell
end

#xObject (readonly)

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



46
47
48
# File 'lib/ratatui_ruby/draw.rb', line 46

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



46
47
48
# File 'lib/ratatui_ruby/draw.rb', line 46

def y
  @y
end