Class: TTY::Table::Renderer::ASCII Private

Inherits:
Basic
  • Object
show all
Defined in:
lib/tty/table/renderer/ascii.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Basic

#alignments, #border_class, #column_widths, #filter, #indent, #multiline, #padding, #resize, #width

Instance Method Summary collapse

Methods inherited from Basic

#border, #create_operations, #render, #select_operations

Methods included from Validatable

#assert_row_sizes, #assert_table_type, #validate_options!

Constructor Details

#initialize(table, options = {}) ⇒ ASCII

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create ASCII renderer


13
14
15
# File 'lib/tty/table/renderer/ascii.rb', line 13

def initialize(table, options = {})
  super(table, options.merge(border_class: TTY::Table::Border::ASCII))
end