Closed franzliedke closed 7 years ago
This extracts some methods in the new pool class.
My goals: smaller methods and revealing names to make the logic a little easier to understand.
This should be a safe refactoring (i.e. no change in behavior), except for one additional log message which I will explain inline.
As a nice side effect, this also gets rid of disabled Rubocop warnings, as we are now safely in bounds.
@jgraichen I just added some comments and changed a few variable names where I felt that made them more revealing. Hope you agree. :)
Oh, and some docblocks for public methods.
:+1: Impressive work!
This extracts some methods in the new pool class.
My goals: smaller methods and revealing names to make the logic a little easier to understand.
This should be a safe refactoring (i.e. no change in behavior), except for one additional log message which I will explain inline.
As a nice side effect, this also gets rid of disabled Rubocop warnings, as we are now safely in bounds.