Class: Clio::Layout

Inherits:
Object
  • Object
show all
Defined in:
lib/clio/layout.rb,
lib/clio/layout/line.rb,
lib/clio/layout/list.rb,
lib/clio/layout/split.rb,
lib/clio/layout/stack.rb,
lib/clio/layout/table.rb

Direct Known Subclasses

Line, List, Split, Stack, Table

Defined Under Namespace

Classes: Line, List, Split, Stack, Table

Instance Method Summary collapse

Instance Method Details

#screen_widthObject



7
8
9
# File 'lib/clio/layout.rb', line 7

def screen_width
  @screen_width ||= Terminal.screen_width
end