class AwsInventory::Presenter::Table

Public Instance Methods

display() click to toggle source
# File lib/aws_inventory/presenters/table.rb, line 4
def display
  table = Text::Table.new
  table.head = data.shift
  table.rows = data
  puts table
end