formatter To see example of using formatter look at main.rb You can run this code: $ ruby main.rb ./fixture/test.txt