Here is the source code and tests for the Ruby maze refactoring challenge. Feel free to download this file and try the challenge, and if you copy the file please always refer back to me.