Method: FatTable::Table#types

Defined in:
lib/fat_table/table.rb

#typesObject

Return the type of the Column with the given +key+ as its header as a String.



456
457
458
459
460
461
462
# File 'lib/fat_table/table.rb', line 456

def types
  result = {}
  headers.each do |h|
    result[h] = type(h)
  end
  result
end