Following your train of thought was fun
i'm learning ruby currently and the refactor steps are very clear and easy to follow.
At then end only one line method!
i would have written this in 20 lines probably and in a couple of hours :)
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.