ruby implementaion of GlobalX coding assessment
"name sorter"
- Ruby '3.0.2'
- Bundler
- Rubocop (lint)
- RSpec (testing)
If you don't already have ruby for your operating system installed, check out the link
If you don't have bundler installed, check out this link
> bundle install
> ./name-sorter <file here>
- Read files in
- Sort lines as names using surname then given name
- Reports names (i.e. print) to screen
- Export names (i.e. overwrites) into file 'sorted-names-list.txt'
> rubocop
> rspec