Ticket #348 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Ruport::Data::Table::FromCSV.load documentation incorrect

Reported by: ruport Assigned to:
Milestone: ruport 1.0 defects Keywords:
Cc:

Description

The API docs for this class method show an incorrect argument for passing options to FasterCSV:

       # pass in FasterCSV options, such as column separators
       table = Table.load('mydata.csv',:csv_opts => { :col_sep => "\t" })

The correct option (which is in the wiki recipe page) is ":csv_options". Either the docs need updating or either symbol should be accepted.

Change History

07/03/07 09:47:59 changed by ruport

  • type changed from task to defect.

08/06/07 21:40:14 changed by sandal

  • milestone set to ruport 1.0 defects.

08/06/07 21:42:38 changed by sandal

  • status changed from new to closed.
  • resolution set to fixed.