Ek feedback

Nice job.

I think you've slightly fallen victim to the common trap of trying to make some of your methods too flexible to the point that they're difficult to read and use.

I'd also recommend checking out a ruby style guide like this one https://github.com/bbatsov/ruby-style-guide. It's helpful for following the generally accepted formatting practices for Ruby.

Overall, I think this was pretty good but you could use some more tests that cover some edge cases. For instance:

- What happens if my string has capital letters?
- What if the same word appears with different cases?
- What happens when punctuation is involved?