Class: TTY::Table::Orientation::Horizontal
- Inherits:
-
TTY::Table::Orientation
- Object
- TTY::Table::Orientation
- TTY::Table::Orientation::Horizontal
- Defined in:
- lib/tty/table/orientation/horizontal.rb
Instance Attribute Summary
Attributes inherited from TTY::Table::Orientation
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 |