This is a solution to a test task How to run Clone this repo Go to your local repository folder In the console run ruby collection_to_headings.rb Requirements Ruby