skryukov / rubocop-gradual

Gradually improve your code with RuboCop
MIT License
36 stars 0 forks source link

Fix multiline issues hash calculation #2

Closed skryukov closed 2 years ago

skryukov commented 2 years ago

There was an issue with hash calculation for multiline code snippets due to .join("\n") call.

This PR resolves that issue and also refactors code-extracting logic to a bit more memory efficient.