Closed frewsxcv closed 5 years ago
@egonSchiele I know you're busy, and I know the burnout of maintaining open source stuff, so no hard feelings if you don't get to this 🙏 Just wanted to say that if you need help maintaining this, I'm a little familiar with the internals of this library and would be happy to help!
Hey there, sorry for my late response. Thanks for the PR! Yes, I haven't had much time for open source this year so would appreciate any help :) If you see an issue that you want to help with, please submit a PR! Or if you see a PR you think should get merged, just ping me on it.
Why?
I work on projects that uses contracts.ruby extensively and we have some gnarly contracts. When contract violations happen, we get errors that span many lines, without any indentation or formatting. Having some pretty-printing would greatly help readability when debugging contract violations.
Example!
In addition to the example below, see the new
.feature
test added in the pull request.Before
After