# Refactoring Local Variables To Methods

> Episode of [GoRails Screencasts](https://podistic.com/podcast/gorails-screencasts.md) · Published May 6, 2024 · Duration 4:36

- **Listen on Podistic:** https://podistic.com/episode/refactoring-local-variables-to-methods
- **Video:** https://gorails.com/episodes/refactoring-local-variables-to-methods/download (video/mp4)

## About this episode

Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.
