Clean up analyzer code

The methods here and here specifically reference the two-fer exercise even though the class is not specific to that exercise. The methods should be moved to the two-fer representation class.

This appears that it should be posted to the Ruby category.

Thanks for creating this in the more specific category.

It will help to get the right people into the conversation, making this easier to find.

I changed the title of this because there is a lot more than just some misplaced code that needs to be cleaned up. There is dead code and unused test files that can be removed as well as style guide improvements that can be made.

2 Likes

Style guide improvements are likely a new topic.

What do you have in mind? I know I am looking at theRubocop configuration (It is in my TODO list).

Renaming analyze! to analyze would be a good step. I haven’t really looked beyond that TBH.