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

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

Constant Summary

Constants included from Validatable

Validatable::MIN_CELL_WIDTH

Instance Attribute Summary

Attributes inherited from Basic

#border_class, #column_aligns, #column_widths, #filter, #multiline, #operations

Instance Method Summary collapse

Methods inherited from Basic

#add_operations, #border, #padding=, #render

Methods included from Validatable

#assert_matching_widths, #assert_row_sizes, #assert_string_values, #validate_options!, #validate_rendering_options!

Constructor Details

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

Returns a new instance of ASCII.



8
9
10
# File 'lib/tty/table/renderer/ascii.rb', line 8

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