Class: TTY::Table::Orientation::Horizontal

Inherits:
TTY::Table::Orientation show all
Defined in:
lib/tty/table/orientation/horizontal.rb

Instance Attribute Summary

Attributes inherited from TTY::Table::Orientation

#name

Instance Method Summary collapse

Methods inherited from TTY::Table::Orientation

coerce, #horizontal?, #initialize, #vertical?

Constructor Details

This class inherits a constructor from TTY::Table::Orientation

Instance Method Details

#transform(table) ⇒ Object



11
12
13
# File 'lib/tty/table/orientation/horizontal.rb', line 11

def transform(table)
  table.rotate_horizontal
end