File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11# Create A CSV::Table Object
22
33When you parse a file or string using ` CSV.parse ` (with ` headers = true ` ) you
4- get a [ ` CSV::Table ` ] ( ) object in response. This object can be used to read what
5- was in a file or it can be used to create a new file. It is also handy as a
6- potential test object if you want to assume, but omit, file reading in a unit
7- test.
4+ get a
5+ [ ` CSV::Table ` ] ( https://ruby-doc.org/stdlib-2.5.1/libdoc/csv/rdoc/CSV/Table.html )
6+ object in response. This object can be used to read what was in a file or it
7+ can be used to create a new file. It is also handy as a potential test object
8+ if you want to assume, but omit, file reading in a unit test.
89
910You can create a ` CSV::Table ` one of the following two ways. First, with a file:
1011
You can’t perform that action at this time.
0 commit comments