Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > csvライブラリ > CSV::Tableクラス > headers
headers -> Array
Returns the headers for the first row of this table (assumed to match all other rows). An empty Array is returned for empty tables.