This repository provides a solution for BankOCR kata.
- Description of the problem can be found here: http://codingdojo.org/kata/BankOCR/
- Current implementation covers the first 3 use cases.
gem install backocr
- You can download a sample input file from here: https://github.com/solojavier/BankOCR/raw/master/bin/input.in
- To process input file and generate a report use the following command:
bankocr process input_path output_path
To run test use the following commands:
gem install bundler
bundle install
bundle exec rspec spec