Refactoring Ruby: Extract Method
Extract Method can be used when you have several expressions, a code fragment, that can be grouped together to add clarity to your ruby classes.
Tags: refactoring, ruby