headers()
Returns the headers for the first row of this table (assumed to match all other rows). An empty Array is returned for empty tables.
# File lib/csv.rb, line 674 def headers if @table.empty? Array.new else @table.first.headers end end