Class: ShelldonTable

Inherits:
Object
  • Object
show all
Defined in:
lib/table-help-config.rb

Class Method Summary collapse

Class Method Details



4
5
6
7
8
# File 'lib/table-help-config.rb', line 4

def self.print(header: nil, rows:)
  puts TTY::Table.new(header: header, rows: rows).render(
      :unicode, padding: [0, 1, 0, 1]
  )
end