method

new

v2_4_6 - Show latest stable - Class: CSV::Table
new(array_of_rows)
public

Construct a new CSV::Table from array_of_rows, which are expected to be CSV::Row objects. All rows are assumed to have the same headers.

A CSV::Table object supports the following Array methods through delegation:

  • empty?()

  • length()

  • size()