A simple Ruby script to convert CSV lists to YAML.
The original script is from Gist and can be found here.
To use this script, simply run it from the terminal:
$ ruby csv-to-yaml.rb /path/to/csvfile
- Have the script actually output a YAML file
A simple Ruby script to convert CSV lists to YAML.
The original script is from Gist and can be found here.
To use this script, simply run it from the terminal:
$ ruby csv-to-yaml.rb /path/to/csvfile