Refactoring with code blocks in ruby · HackerTrans