Class: TuiTui::Size

Inherits:
Data
  • Object
show all
Defined in:
lib/tui_tui/size.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colsObject (readonly)

Returns the value of attribute cols

Returns:

  • (Object)

    the current value of cols



4
5
6
# File 'lib/tui_tui/size.rb', line 4

def cols
  @cols
end

#rowsObject (readonly)

Returns the value of attribute rows

Returns:

  • (Object)

    the current value of rows



4
5
6
# File 'lib/tui_tui/size.rb', line 4

def rows
  @rows
end