envato/double_entry — pull request #7 by spickermann (2014-06-18 06:31:15+00:00)
Title: Refactor line check

Recreational refactoring and fighting against a **C** mark on https://codeclimate.com/github/envato/double_entry/DoubleEntry::LineCheck

Next step: Extract methods into a `LineChecker` *Service* Model, because a `LineCheck` database entry is something completely different thing than a `LineChecker` that checks all the lines.