This coding exercise will walk through how to work with CSV files and convert a file’s content into Ruby collections that you can utilize.
Build a CSV File parser in Ruby that converts a CSV file to array values.
This coding exercise examines how to build a method that parses a CSV file, stores each line as an array, with each column as a separate element in the array.
Example Data Output
Real World Usage
There are many times, when building a Ruby application, that you need to convert a large amount of data from a CSV file and utilize it in an application. This exercise will test your ability to:
- Work with file paths
- Convert string based data to arrays
- Implement regular expressions for parsing data
Can be found on the solutions branch on github.