Method: OutputMode::Outputs::Tabulated#initialize
- Defined in:
- lib/output_mode/outputs/tabulated.rb
#initialize(*procs, renderer: nil, **config) {|tty_table_renderer| ... } ⇒ Tabulated
Returns a new instance of Tabulated.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/output_mode/outputs/tabulated.rb', line 54 def initialize(*procs, renderer: :unicode, colorize: false, header_color: nil, row_color: nil, **config, &block) @renderer = renderer @block = block @header_color = header_color @row_color = row_color @colorize = colorize super(*procs, **config) end |