Parsing Tab Seperated Data Files
We provide a way to use FasterCSV options directly, so the :col_sep option is all you need.
Examples:
# works with any file
Ruport::Data::Table.load("foo.txt",:csv_options => { :col_sep => "\t" })
# works if the filename ends in .csv
Table("foo.csv", :csv_options => { :col_sep => "\t" }
# works with any file name (on 0.9+)
Table(:file => "foo.txt", :csv_options => { :col_sep => "\t" })
# works in the Report DSL with any filename
load_csv "foo.txt", :csv_options => { :col_sep => "\t" }
Since :csv_options is forwarded directly to FasterCSV, you can actually pass along anything that FasterCSV understands.
Consult the API Documentation if you have some advanced needs.
